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}
pypi-AgEIcHlwaS5vcmcCJDkwYTBjZTY5LWU5NGQtNDNhYS05ZWIxLTBiZjdjMzJlMmUyZQACDFsxLFsiY21kdSJdXQACLFsyLFsiNmQ2NWI5ZmQtZDAzYS00YzE4LTgwNjYtOTdlZTBkY2UwMGZiIl1dAAAGIJKby55lo8IXSuyaedbHLVaGOx6K1Wp_SdWeBXwcF3O9
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.2.tar.gz
(7.1 MB
view hashes)
Built Distribution
cmdu-0.0.2-py3-none-any.whl
(2.9 kB
view hashes)