snip
command line snippet manager
install
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.
commands
-
snip help- display help -
snip add snippet_name- add new snippet -
snip show snippet_name- show snippet -
snip edit snippet_name- edit snippet -
snip run snippet_name- execute snippet -
snip rm snippet_name- delete snippet -
snip list [regex]- list all snippets (with optional regex filter)