import { NS } from '@ns' export async function main(ns: NS) : Promise { const cmd = ns.args.join(" "); // @ts-ignore: disable-next-line const fn = new Function(["ns"],cmd); const v = await fn(ns); if(v !== undefined){ ns.tprint(v) } }