2.1.4 • Published 10 months ago

@openstation/cliapplicationbuilder v2.1.4

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months 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

10 months ago

2.1.3

10 months ago

2.1.2

10 months ago

2.1.1

10 months ago

2.1.0

10 months ago

2.0.0

10 months ago

1.1.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago