1.0.2 • Published 6 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 addededit menu
$ menu edit grapes pineapple
> grapes editedremove an item
$ menu remove apple
> apple removedfind an item
$ menu has banana
> banana is in the menuempty menu
$ menu empty
> menu emptiedIt's just a fun project, don't take it seriously 😏