https://github.com/voidpp/asd
Various command line helper scripts
https://github.com/voidpp/asd
Last synced: 5 months ago
JSON representation
Various command line helper scripts
- Host: GitHub
- URL: https://github.com/voidpp/asd
- Owner: voidpp
- License: mit
- Created: 2015-11-15T10:51:52.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-02-22T23:56:39.000Z (over 2 years ago)
- Last Synced: 2025-09-24T10:27:23.506Z (9 months ago)
- Language: Python
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
What is this?
=============
Place for various command line tools.
Why 'asd' ?
===========
Easy to type, because it's short and qwerty.
Install
=======
``pip install asd``
For bash completion activate argcomplete:
``activate-global-python-argcomplete``
If the global activation is not working or you just don't want to activate globally, completion could install locally by add this line the end of the ~/.bashrc file:
``eval "$(register-python-argcomplete asd)"``
Available tools
===============
- JSON browser:
- parse and display json data with human readable format
- help: ``asd json -h``
- usage:
- ``asd json path/to/data.json``
- ``cat path/to/data.json | asd json``
- ``asd json < path/to/data.json``
- display sub-data only: ``asd json path/to/data.json -p path.to.sub.data``
- **bash completion** is available for sub-data too (working only if the json file is parameter, not piped data)