https://github.com/harrisjose/cute-menu
Make your cli tools totally rad by giving people a menu 🐙
https://github.com/harrisjose/cute-menu
cli cli-template cli-utilities cute utils
Last synced: 10 months ago
JSON representation
Make your cli tools totally rad by giving people a menu 🐙
- Host: GitHub
- URL: https://github.com/harrisjose/cute-menu
- Owner: harrisjose
- License: mit
- Created: 2017-07-09T07:43:28.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-01-12T10:36:13.000Z (over 3 years ago)
- Last Synced: 2025-08-09T04:17:12.039Z (10 months ago)
- Topics: cli, cli-template, cli-utilities, cute, utils
- Language: JavaScript
- Homepage:
- Size: 389 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://standardjs.com)
# cute-menu
Make your cli tools totally rad by giving people a damn menu 🐙

## 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](https://github.com/paprikka/lana-cli).
## Install
`$ npm install cute-menu --save-dev`
## Usage
```js
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
+ [chalk](https://github.com/chalk/chalk)
+ [keypress](https://www.npmjs.com/package/keypress)
+ [get-stdin](https://github.com/sindresorhus/get-stdin)