1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-14 03:30:18 +00:00
musix-oss/node_modules/ascli/tests/test.js
2020-03-03 22:30:50 +02:00

11 lines
361 B
JavaScript

var cli = require("../ascli.js")("myapp");
cli.banner("staying straight".green.bold, "v1.0.0 through ascli");
cli.log("Hello world!".white.bold);
cli.log("...of ascli\n");
cli.log("Command line arguments".white.bold);
cli.log(cli.opt, cli.argv);
cli.banner("abcdefghijklmnopqrstuvwxyz 0123456789");
cli.ok("yep, that worked.");
cli.fail("nope, that didn't.");