Pork is a command line tool for quick storage and retrieval of text snippets. It is a port of Bang to Python.
Pork has been tested only under Python 2.7.
Run pip install pork
.
For detailed usage instructions, run pork -h
.
To set a key, run pork KEY VALUE
.
To print value of a key, run pork KEY
. If the key doesn't exist, there will be no output.
To delete a key, run pork -d KEY
.
To list all keys (or print help if there are no keys stored yet), simply run pork
.
- Clone the repository.
- Run
pip install -r requirements-dev.txt
to install all the dependencies. - Run
scripts/pork
to run the program. - Run
scripts/test
to run the tests.