tldr/pages/common/cheat.md

25 lines
432 B
Markdown
Raw Permalink Normal View History

2020-01-03 23:31:24 +00:00
# cheat
> Create and view interactive cheat sheets on the command-line.
> More information: <https://github.com/cheat/cheat>.
- Show example usage of a command:
`cheat {{command}}`
- Edit the cheat sheet for a command:
`cheat -e {{command}}`
- List the available cheat sheets:
`cheat -l`
- Search available the cheat sheets for a specified command name:
`cheat -s {{command}}`
- Get the current cheat version:
`cheat -v`