kaz 0.4.0

Creator: bradpython12

Last updated:

Add to Cart

Description:

kaz 0.4.0

Kaz
This cli lets you easily store binary and text items and retrieve them later.
Installation
pip install kaz

Usage
Basic usage:
kaz set key value
kaz get key # value

You can also use stdin and stdout:
kaz set license < license.txt
kaz get license > license2.txt

which works with binary files:
kaz set "profile pic" < profile-picture.png

Commands
$ kaz --help
Usage: kaz [OPTIONS] COMMAND [ARGS]...

Simple local storage cli

Options:
-h, --help Show this message and exit.
-v, --version Show the version and exit.

Commands:
get Print the value of an item.
list Show all items that match `pattern`.
remove Remove an item.
set Bind a name to a value.

Autocompletion
To enable autocompletion, source the script in the autocomplete directory that corresponds to your terminal. Currently bash, fish and zsh are supported.
For bash, this would be
wget https://raw.githubusercontent.com/clabe45/kaz/master/autocomplete/kaz-autocomplete-bash.sh
. kaz-autocomplete-bash.sh

Add the second command to your ~/.bashrc to enable it automatically.
Contributing

Fork this repo!
Clone: git clone https://github.com/YOUR-USERNAME/kaz.git
Pick an issue or open a new one if you have a feature idea.
Preferably check out a new feature branch: git checkout -b feature/my-feature (makes the PR process easier)
Implement your change.


Try to keep your commits atomic.


Push: git push origin FEATURE-BRANCH
Create a new pull request.

License
Licensed under GNU GPL v3.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.