Hey, welcome to cheat. Thanks for trying it out. Here are a few commands to
get you started.
Installation:
$ gem install cheat
Recently added cheat sheets:
$ cheat recent
All cheat sheets:
$ cheat sheets
The `strftime' cheat sheet:
$ cheat strftime
View a cheat sheet in TextMate:
$ cheat strftime | mate
Or less, for scrolly terminal:
$ cheat strftime | less
Print a cheat sheet
$ cheat strftime | lpr
To edit a cheat sheet, use the --edit switch.
$ cheat markaby --edit
To add a cheat sheet, use the --add switch.
$ cheat readme --add
To use a different editor (such as TextMate) for --edit and --add, set the
VISUAL (or EDITOR) environment variable:
$ export VISUAL='mate -w'
Sheets are cached locally in ~/.cheat. To clear your cache, pass --new to
cheat. You won't get updates unless you do this.
$ cheat --new
$ cheat strftime --new
That's it! More soon.