Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jimmycuadra/pork
Text snippets on the command line.
https://github.com/jimmycuadra/pork
application cli python utility
Last synced: about 1 month ago
JSON representation
Text snippets on the command line.
- Host: GitHub
- URL: https://github.com/jimmycuadra/pork
- Owner: jimmycuadra
- License: mit
- Created: 2013-09-11T08:56:57.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-09-14T22:15:40.000Z (over 11 years ago)
- Last Synced: 2024-04-09T16:26:20.004Z (9 months ago)
- Topics: application, cli, python, utility
- Language: Python
- Homepage:
- Size: 172 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pork
[![Build Status](https://travis-ci.org/jimmycuadra/pork.png?branch=master)](https://travis-ci.org/jimmycuadra/pork)
**Pork** is a command line tool for quick storage and retrieval of text snippets. It is a port of [Bang](https://github.com/jimmycuadra/bang) to Python.
## Python versions
Pork has been tested only under Python 2.7.
## Installation
Run `pip install pork`.
## Usage
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`.
## Development
1. Clone the repository.
1. Run `pip install -r requirements-dev.txt` to install all the dependencies.
1. Run `scripts/pork` to run the program.
1. Run `scripts/test` to run the tests.