https://github.com/dhsathiya/cheat
A handy tool to create and manage your own cheat-sheets
https://github.com/dhsathiya/cheat
cheat cheatsheet tool
Last synced: about 2 months ago
JSON representation
A handy tool to create and manage your own cheat-sheets
- Host: GitHub
- URL: https://github.com/dhsathiya/cheat
- Owner: dhsathiya
- License: mit
- Created: 2019-05-17T23:42:45.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-21T18:39:37.000Z (about 7 years ago)
- Last Synced: 2024-10-19T07:03:38.895Z (over 1 year ago)
- Topics: cheat, cheatsheet, tool
- Language: Shell
- Size: 14.6 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cheat
.png)
A handy tool to create and manage your own cheat-sheets
## Installation
wget :
```shell
sh -c "$(wget https://raw.githubusercontent.com/dhsathiya/cheat/master/setup.sh -O -)"
```
curl :
```shell
sh -c "$(curl -fsSL https://raw.githubusercontent.com/dhsathiya/cheat/master/setup.sh)"
```
## How to use ?
It has a very straight forward syntax :
```shell
cheat command
```
and the commands are super basic like show, create, add ...
```
-c create create new cheat-sheet
-a add add command and comment to the cheat-sheet
-s show show cheat-sheet
-sa showall show all cheat-sheet
-e edit edit cheat-sheet [vim]
-h -- help
-d -- delete a cheat-sheet [disabled by default]
```
## Autocomplete [Bug found]
1. Copy `autocomplete.sh` file in your system.
2. Run this following command : `source /path/to/your/autocomplete.sh`
If you are using zsh terminal then run these commands to init bash autoload
```
autoload bashcompinit
bashcompinit
```
example : `cheat `
- Bug:
autocomplete won't work in a new session. Have to find a fix.
---
Created by [dhsathiya](https://www.blog.devarshi.xyz)
Original Idea from : https://github.com/cheat/cheat