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