1.0.2 • Published 5 years ago
node-menu-list v1.0.2
node-menu-list
This is a tiny npm package to store menu with command in a json file. I'm using https://github.com/substack/node-optimist
get all menus
$ menu get
> {"apple", "mango", "banana"}
add new item
$ menu add grapes
> grapes added
edit menu
$ menu edit grapes pineapple
> grapes edited
remove an item
$ menu remove apple
> apple removed
find an item
$ menu has banana
> banana is in the menu
empty menu
$ menu empty
> menu emptied
It's just a fun project, don't take it seriously 😏