tldr/pages/common/cheat.md

25 lines
432 B
Markdown

# 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`