cashe

Crates.iocashe
lib.rscashe
version0.1.0
sourcesrc
created_at2021-10-23 20:49:56.958488
updated_at2021-10-23 20:49:56.958488
descriptionCommand line utility for caching and recalling output
homepage
repository
max_upload_size
id470019
size4,175
tony-o (tony-o)

documentation

README

Cash (Money, Millionaires)

cash is a command line tool to cache program output so you can grep/awk/whatever without polluting local dir.

Usage

$ cash find /         #this caches the output
# output
$ cash | grep 'xyz'   #this pipes output to grep

Build

Requires cargo.

$ cargo build --release
$ sudo ln -s $(pwd)/target/release/cash /usr/local/bin/cash

Args

-n <name>

This can be used to name the output. Usage with this is similar to above,

$ cash -n test find /
# output
$ cash -n test | grep 'xyz'

-d <dir>

If you want to use a special dir for caching, use this flag. If you want to permanently use this dir then use an alias with your shell.

License

License: Artistic-2.0

authors

@tony-o

Commit count: 0

cargo fmt