Skip to content

crunk1/cheat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Cheat

CLI tool for viewing, editing, and deleting your cheatsheets. Cheatsheets are stored in ~/.cheat/.

Usage

cheat <cheatsheet>
cheat -d <cheatsheet>
cheat -e <cheatsheet>
cheat -h
cheat -l

Cheatsheet manager. Displays, edits, and deletes cheatsheets.

Options:
  -d Deletes a cheatsheet.
  -e Edits a cheatsheet. If the cheatsheet does not exist, it is created.
  -h Displays this help message.
  -l Lists cheatsheets.

Examples:
  % cheat -e grep
  % cheat grep

Building

To create a static, super slimmed down binary (I got it to ~600k), you can use the following commands:

CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-s -w -extldflags "-static"' .
# or GOOS=darwin if building for mac

# And if you have upx (highly recommended):
upx ./cheat

About

A CLI tool for adding, managing, and viewing your own cheatsheets.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages