Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 861 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 861 Bytes

JavaScript Style Guide

cute-menu

Make your cli tools totally rad by giving people a damn menu 🐙

terminal

Why

Cause not everyone can keep track of all those fancy commands your cli tool has.

Inspired by (and a lot of code borrowed from) lana-cli.

Install

$ npm install cute-menu --save-dev

Usage

const Menu = require('cute-menu')
const chalk = require('chalk')

/* You need to pass in an options array and a config object. For examples refer to the `example.js` file
*/
let menu = new Menu(options, config);
menu.show()

Tips