Skip to content

Looks up command line syntax from cheatsheets using fuzzy search

License

Notifications You must be signed in to change notification settings

amacfie/cmdmenu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Can't remember the syntax for stuff at the command line? Make cheatsheets and search them with cmdmenu.

Similar to cheat but different. Even more similar to the newer navi.

See also

Install

$ npm -g install cmdmenu

Usage

  1. Create/get/customize JSON task files. Examples of the file format are here. Each task has a description and a list of keywords to help you search for it.

  2. Make an alias for each task file. For example:

    $ alias shm="cmdmenu -f ~/cmdmenu_tasks/linux.json"
    $ alias gim="cmdmenu -f ~/cmdmenu_tasks/git.json"
  3. Get task syntax at the command line.

    $ shm get folder size
    ? Select task (Use arrow keys)
    ❯ Show folder size
      Show file size
      Merge folders
    (Move up and down to reveal more choices)
    

    press enter

    du -sh <folder>
    ? Copy? (Y/n)
    

About

Looks up command line syntax from cheatsheets using fuzzy search

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published