@openstation/cliapplicationbuilder
v2.1.4
Published
```ts
Downloads
620
Readme
//init project
execInitProject();
//arrowSelection
arrowSelector(["mods", "play", "quit"], "Game Menu")
.then(number => {
console.log(`\nYou chose: ${number}`);
process.exit();
});
//input
input("What a your name?")
.then(name => {
console.log(name);
});
//logWithTitle
logWithTitle("text", "title", true, "WARNING!!!")
//question
question("What a your name?", "Name Here:")
.then(name => {
console.log(name);
});
//selector
selector(["mods", "play", "quit"], "Game Menu", "")
.then(number => {
console.log(`\nYou chose: ${number}`);
});
// on ts
import { } from "@openstation/cliapplicationbuilder/src/index";
//on js
const { } = require("@openstation/cliapplicationbuilder/src/dist/index");