package
Text snippets on the command line.
npm install bangGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Estimated unpacked size across 2 packages.
202.2 kB
Includes dependencies.
Bang is a command line tool for quick storage and retriveal of text snippets. It is inspired by and very similar to holman's Boom. The main difference is that Bang has no concept of lists: it is only one level deep. It also has a simpler interface to avoid accidentally creating stuff.
Requirements:
Then:
$ npm install -g bang$ bang -hOr, if you have not yet stored any data, simply run bang.
$ bang jimmy http://jimmycuadra.com/$ bang jimmy
http://jimmycuadra.com/$ bang -d jimmy$ bang
jimmy: http://jimmycuadra.com/
mtnt: http://morethingsneed.to/
address: 237 Overlook StreetBang's data is serialized to JSON and peristed to a file at ~/.bang. If you want to share your Bang data across multiple machines, you can move the file to Dropbox or some other type of network disk, and then symlink it to ~/.bang on your local machine.
Bang includes a comprehensive test suite using Jasmine. To run it:
$ npm install -g coffee-script
$ git clone http://github.com/jimmycuadra/bang.git
$ cd bang
$ npm install
$ cake specFor continuous testing, use cake watch. This also rebuilds CoffeeScript files whenever the tests are run.