/// import yargsInteractive = require("yargs-interactive"); const options: yargsInteractive.Option = { color: { describe: "What is your favorite color?", prompt: "always", type: "input", default: "Blue", } }; yargsInteractive() .usage("$0 [args]") .interactive(options) .then((result: any) => { console.log(result); });