All Projects â†’ kommandr â†’ Kmdr Cli

kommandr / Kmdr Cli

Licence: mit
🧠 The CLI tool for learning commands from your terminal

Programming Languages

typescript
32286 projects
shell
77523 projects
bash
514 projects

Projects that are alternatives of or similar to Kmdr Cli

Ascii
👾 ASCII Roulette :: ascii art video chat on the cli
Stars: ✭ 202 (-7.34%)
Mutual labels:  cli, terminal, command-line
Saldl
A lightweight well-featured CLI downloader optimized for speed and early preview.
Stars: ✭ 203 (-6.88%)
Mutual labels:  cli, terminal, command-line
Httpcat
httpcat is a simple utility for constructing raw HTTP requests on the command line.
Stars: ✭ 109 (-50%)
Mutual labels:  cli, terminal, command-line
Run
âš¡The resource runtime
Stars: ✭ 90 (-58.72%)
Mutual labels:  cli, terminal, command-line
Goaccess
GoAccess is a real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.
Stars: ✭ 14,096 (+6366.06%)
Mutual labels:  cli, terminal, command-line
Tooling
Advancing Node.js as a framework for writing great tools
Stars: ✭ 98 (-55.05%)
Mutual labels:  cli, terminal, command-line
Typin
Declarative framework for interactive CLI applications
Stars: ✭ 126 (-42.2%)
Mutual labels:  cli, terminal, command-line
Fsq
A tool for querying the file system with a SQL-like language.
Stars: ✭ 60 (-72.48%)
Mutual labels:  cli, terminal, command-line
Commander
Test your command line interfaces on windows, linux and osx and nodes viá ssh and docker
Stars: ✭ 183 (-16.06%)
Mutual labels:  cli, terminal, command-line
Cointop
A fast and lightweight interactive terminal based UI application for tracking cryptocurrencies 🚀
Stars: ✭ 2,912 (+1235.78%)
Mutual labels:  cli, terminal, command-line
Lua cliargs
A command-line argument parsing module for Lua.
Stars: ✭ 84 (-61.47%)
Mutual labels:  cli, terminal, command-line
Csview
📠 A high performance csv viewer with cjk/emoji support.
Stars: ✭ 208 (-4.59%)
Mutual labels:  cli, terminal, command-line
Window Size
Reliable way to to get the height and width of the terminal/console in a node.js environment.
Stars: ✭ 79 (-63.76%)
Mutual labels:  cli, terminal, command-line
Word Wrap
Wrap words to a specified length.
Stars: ✭ 107 (-50.92%)
Mutual labels:  cli, terminal, command-line
Navi
An interactive cheatsheet tool for the command-line
Stars: ✭ 10,055 (+4512.39%)
Mutual labels:  cli, terminal, command-line
Nnn
n³ The unorthodox terminal file manager
Stars: ✭ 13,138 (+5926.61%)
Mutual labels:  cli, terminal, command-line
Crossline
A small, self-contained, zero-config, MIT licensed, cross-platform, readline and libedit replacement.
Stars: ✭ 53 (-75.69%)
Mutual labels:  cli, terminal, command-line
Rang
A Minimal, Header only Modern c++ library for terminal goodies 💄✨
Stars: ✭ 1,080 (+395.41%)
Mutual labels:  cli, terminal, command-line
Mandown
man-page inspired Markdown viewer
Stars: ✭ 173 (-20.64%)
Mutual labels:  cli, terminal, command-line
Zoxide
A smarter cd command. Supports all major shells.
Stars: ✭ 4,422 (+1928.44%)
Mutual labels:  cli, terminal, command-line

kmdr-cli npmnpm

The CLI tool for learning commands from your terminal

kmdr provides command explanations for hundreds of programs including git, docker, kubectl,npm, go and more straight forward programs such as those built into bash. See the full list at https://app.kmdr.sh/program.

Installation

You will need to install the kmdr program and sign-in to begin using kmdr on the CLI.

Requirements

  • Node.js v8.x and above
  • A package manager like npm or yarn

With npm

npm install kmdr --global

With yarn

yarn global add kmdr

Check installation

Run the command kmdr to check if it was correctly installed on your system.

$ kmdr
Usage: kmdr [options] [command]

The CLI tool for learning commands from your terminal

Learn more at https://kmdr.sh/

Options:
  -v, --version    output the version number
  -h, --help       output usage information

Commands:
  explain|e        Explain a shell command
  info|i           Display system-wide information
  login|l [email]  Log in to kmdr
  logout           Log out from kmdr
  settings|s       Adjust options and preferences
  version|v        Print current version and check for newer release

Troubleshooting installation

Command not found: kmdr

Add the line below to your .bashrc or .zshrc if using zsh

export PATH="$(yarn global bin):$PATH"

Sign In

  1. Log in on the kmdr CLI tool
kmdr login
  1. Enter your email when prompted
  2. Check your inbox and click on the link provided in the email.

Usage

Explain a command

Once kmdr-cli is installed on your system, enter kmdr explain to return a prompt for entering the command you would like explained.

When the Enter your command: prompt is returned, enter the command you would like explained and hit the Enter key.

kmdr will return syntax highlighting to assist you in differentiating parts of the command followed by the explanation of each of these parts.

An example explanation of git commit -am "Initial commit" can be seen below.

$ kmdr explain
✔ Enter your command · git commit -am "Initial Commit"

    git commit -am "Initial Commit"

  DEFINITIONS

    git
      The stupid content tracker
    commit
      Record changes to the repository
    -a, --all
      Tell the command to automatically stage files that have been modified and deleted
    -m, --message "Initial Commit"
      Use the given <msg> as the commit message

Examples

Explaining commands with subcommands

$ kmdr explain
? Enter your command: npm install [email protected] --global

    npm install [email protected] --global

  DEFINITIONS

    npm
      Package manager for the Node JavaScript platform
    install
      Install a package
    [email protected]
      The CLI tool for learning commands from your terminal
    -g, --global
      Install the package globally rather than locally

Explanining commands with grouped options

$ kmdr explain
? Enter your command: rsync -anv file1 file2

    rsync -anv file1 file2

  DEFINITIONS

    rsync
      A fast, versatile, remote (and local) file-copying tool
    -a, --archive
      This is equivalent to -rlptgoD.
    -n, --dry-run
      This makes rsync perform a trial run that doesn’t make any changes
      (and produces mostly the same output as a real run).
    -v, --verbose
      This option increases the amount of information you are given during
      the transfer.

Explaining commands with redireciton

$ kmdr explain
? Enter your command: ls -alh > contents.txt

    ls -alh > contents.txt

  DEFINITIONS

    ls
      List directory contents
    -a, --all
      Do not ignore entries starting with .
    -l
      Use a long listing format
    -h, --human-readable
      With -l and/or -s, print human readable sizes (e.g., 1K 234M 2G)
    > contents.txt
      Redirect stdout to contents.txt.

Explaining list of commands

$ kmdr explain
? Enter your command: dmesg | grep 'usb' > output.log 2>error.log

    dmesg | grep 'usb' > output.log 2> error.log

  DEFINITIONS

    dmesg
      Print or control the kernel ring buffer
    |
      A pipe serves the sdout of the previous command as input (stdin) to the next one
    grep
      Print lines matching a pattern
    > output.log
      Redirect stdout to output.log.
    2> error.log
      Redirect stderr to error.log.

So what is the reason for signing in? why should it be included in CLI readme?

Supported programs

We add new programs every day! See the full list here: https://app.kmdr.sh/program.

Stay tuned for more updates

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].