https://github.com/jwerle/lqueue
Push and shift data to a queue from the command line
https://github.com/jwerle/lqueue
Last synced: over 1 year ago
JSON representation
Push and shift data to a queue from the command line
- Host: GitHub
- URL: https://github.com/jwerle/lqueue
- Owner: jwerle
- Created: 2014-01-13T01:16:54.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-01-13T12:46:37.000Z (over 12 years ago)
- Last Synced: 2025-01-17T01:36:47.117Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 141 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
lqueue(1)
=====
## install
```sh
$ npm install lqueue -g
```
## usage
### push
```sh
$ lqueue push foo
```
..or from stdin
```sh
$ echo bar | lqueue push
```
### shift
```sh
$ lqueue shift
foo
```
Use the `-v` flag for verbose output.
```sh
$ lqueue push 123 -v
verbose: queue empty
verbose: put (1) 123...
verbose: write ok
```
## license
MIT