command line snippet manager
gem install snip
The first time snip
is run, it will ask permission to create ~/.snip
directory where snippets will be saved as plain text files.
snip help
- display helpsnip add snippet_name
- add new snippetsnip show snippet_name
- show snippetsnip edit snippet_name
- edit snippetsnip run snippet_name
- execute snippetsnip rm snippet_name
- delete snippetsnip list [regex]
- list all snippets (with optional regex filter)