command line snippet manager
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
test
.gitignore
Gemfile
Gemfile.lock
README.md
README.rdoc
Rakefile
snip.gemspec
snip.rdoc

README.md

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)