A small command line library for daily tasks.
Project description
build
pip install -r requirements.txt
rm -rf dist
python -m build
python -m twine upload dist/* -u __token__ -p {token}
Commands
|-- cmdu
| |-- json2json
| |-- json2yaml
| |-- yaml2json
json2yaml
convert a json input (from stdin) as json output (to stdout)
- with raw json
python -m cmdu json2json
- with pretty format
python -m cmdu json2json --pretty
- with pretty format and indentation as 2
python -m cmdu json2json --pretty --indent 2
json2yaml
convert a json input (from stdin) as yaml output (to stdout)
python -m cmdu json2yaml
yaml2json
convert a yaml input (from stdin) as json output (to stdout)
- with raw json
python -m cmdu yaml2json
- with pretty format
python -m cmdu yaml2json --pretty
- with pretty format and indentation as 2
python -m cmdu yaml2json --pretty --indent 2
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cmdu-0.0.1.tar.gz
(7.0 MB
view hashes)
Built Distribution
cmdu-0.0.1-py3-none-any.whl
(2.7 kB
view hashes)