An open API service indexing awesome lists of open source software.

https://github.com/blasrodri/cmdex

Find command examples (grep, tar, npm, apt, etc)
https://github.com/blasrodri/cmdex

cli commands-cheat-sheet man

Last synced: 2 months ago
JSON representation

Find command examples (grep, tar, npm, apt, etc)

Awesome Lists containing this project

README

          

# Command Example (WIP)

This project is an attempt to simplify the life of those users needing some
help when using a command they're unfamiliar with. Instead of having to go to a web engine
or a QA website, just query it here.

## Installation

```bash
cargo install cmdex
```

## Basic Examples

Find all examples of the `find` command
```bash
cmdex find

find - Find files in current working dir with *.txt extension and replace string inplace with sed
Platforms: all
find $(pwd) -name "*.txt" -exec sed -i 's/foo/bar/g {} \;'
Authors: Blas Rodriguez Irizar

find - Find all the files whose name is foo.txt in a current working directory
Platforms: all
find . -name foo.txt
Authors: Blas Rodriguez Irizar
```

Find all examples that match a certain query on the description of the command example
```bash
cmdex -q="shutdown now"

shutdown - Shutdown your computer right now
Platforms: all
sudo shutdown now
Authors: Blas Rodriguez Irizar
```

## Goals
- CLI Support
- HTTP Support
- Fuzzy search
- User voting the effectiveness of an example