npm install cui``
.__
____ __ __|__|
_/ ___\| | \ |
\ \___| | / |
\___ >____/|__|
\/
`
GUIs for the command line.
npm install cui`Examples
The examples are all executable scripts - try cd'ing into the example folder and typing `./all`Usage
This code below is essentially the same as in example/basic:
`javascript
var cui = require("cui");
cui.view({
title: "This is a very basic example.",
type: "buttons",
data: [
"One",
"Two",
"Three"
],
action: function () {
console.log("You could do something now with: \"" + cui.results[0] + "\"");
}
});
``