Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

crunk1/cheat

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.