Skip to content
No description or website provided.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Init Aug 19, 2017
LICENSE Initial commit Aug 19, 2017
README.md Link to navi Sep 21, 2019
index.js No commit message Feb 20, 2019
package.json No commit message Feb 20, 2019

README.md

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.

Install

$ git clone git@github.com:amacfie/cmdmenu.git
$ cd cmdmenu
$ sudo npm -g install

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/ubuntu_general.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)
    
You can’t perform that action at this time.