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)
- Host: GitHub
- URL: https://github.com/blasrodri/cmdex
- Owner: blasrodri
- Created: 2020-01-16T23:39:20.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-20T09:58:56.000Z (almost 6 years ago)
- Last Synced: 2025-09-21T10:34:24.335Z (9 months ago)
- Topics: cli, commands-cheat-sheet, man
- Language: Rust
- Homepage:
- Size: 74.2 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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