2.1.4 • Published 1 year ago

@openstation/cliapplicationbuilder v2.1.4

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago
//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");

install - npm i

2.1.4

1 year ago

2.1.3

1 year ago

2.1.2

1 year ago

2.1.1

1 year ago

2.1.0

1 year ago

2.0.0

1 year ago

1.1.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago