feat: --rm and --tags

- Implements the `--rm` command (#483)
- Implements the `--tags` command (#484)
- Bumps version to `3.1.0`
This commit is contained in:
Chris Lane
2019-11-16 09:03:03 -05:00
parent aeaf01e1de
commit 9a6130b6b7
4 changed files with 70 additions and 1 deletions

View File

@ -22,6 +22,7 @@ Options:
-t --tag=<tag> Return only sheets matching <tag>
-T --tags List all tags in use
-v --version Print the version number
--rm=<sheet> Remove (delete) <sheet>
Examples:
@ -43,6 +44,9 @@ Examples:
To list all available cheatsheets:
cheat -l
To list all tags in use:
cheat -T
To list available cheatsheets that are tagged as "personal":
cheat -l -t personal
@ -51,5 +55,8 @@ Examples:
To search (by regex) for cheatsheets that contain an IP address:
cheat -c -r -s '(?:[0-9]{1,3}\.){3}[0-9]{1,3}'
To remove (delete) the foo/bar cheatsheet:
cheat --rm foo/bar
`)
}