INNER CODE UNIT · TypeScript

Promise

FrancescoStabile/numasec · packages/numasec/src/cli/cmd/debug/index.ts:31

            await new Promise((resolve) => setTimeout(resolve, 1_000 * 60 * 60 * 24))
          })
        },
      })
      .demandCommand(),
  async handler() {},
})

const PathsCommand = cmd({
  command: "paths",
  describe: "show global paths (data, config, cache, state)",
  handler() {
    for (const [key, value] of Object.entries(Global.Path)) {
      console.log(key.padEnd(10), value)
    }
  },
})

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…