xudo-cli
A quality of life tool to help bring up docker containers, access docker logs, generate jooq, run tests and more
Installation
pip3 install xudo or python3 setup.py install to install with local files
Change /Users/ostralyan/dev to the absolute path of where the hbng folder is stored: echo '/Users/ostralyan/dev' > ~/.xudo_profile
Usage
xudo logs [api | changelog | migrations] - This will follow the logs of the chosen container
xudo pull - Pulls the Elastic Search and MySQL contianers
xudo build [-c -m -s -a -x] - Deletes the corresponding process(es) and the image(s) and builds the container from scratch
-c: Changelog
-m: Migrations
-s: Sql
-a: Api
-x: Api no cache
xudo test (be | app | admin | core | it) - Runs the backend, frontend or integration tests
be: Backend
it: Integration Tests
xudo watch - Watches hbng
xudo clean - Removes all dangling containers
xudo prune - Prompts to remove
all stopped containers
all networks not used by at least one container
all dangling images
all build cache
xudo -h | --help - Shows the help screen
xudo --version - Shows the version
Pushing to Pypi
cd /path/to/xudo-cli
rm -rf dist/
python setup.py sdist bdist_wheel
twine upload dist/*
Release files for xudo 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| xudo-1.1.1.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xudo-1.1.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 12.5 kB
Release files / xudo-1.1.1.tar.gz
| Download URL | xudo-1.1.1.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
66c893a36898e97b1b9e67458a35cd47ae9015de6ee790c785002e4b48eaafb1
|
|
BLAKE2b-256 checksum How to use checksums |
6fdd16053ef7dc0ff8c3131a73171de75b01e284e213d30015d4a141a0f30ab6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / xudo-1.1.1-py2.py3-none-any.whl
| Download URL | xudo-1.1.1-py2.py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e317332fe1e990629bed9f7c74cdeaad0f2bcdb484f5d6bc79f379cd9e0f62c2
|
|
BLAKE2b-256 checksum How to use checksums |
cc21fa4944e2fe49fc9f0f59ed588b0b13bf290a0f1454ee69ca8ebd0ac733db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |