Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

cute-menu

harrisjose13MIT0.0.1

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

cli, cli-app, yarn, utils, cli, cli-tool, cli-helper, cli-utils, cli-menu

readme

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