Metadata-Version: 2.1
Name: xudo
Version: 1.0.8
Summary: A command line program for docker
Home-page: https://github.com/ostralyan/xudo
Author: Luke Xu
Author-email: lukecxu@gmail.com
License: MIT License
Keywords: cli
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Topic :: Utilities
Classifier: License :: Public Domain
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Provides-Extra: test
Requires-Dist: docopt
Requires-Dist: requests
Provides-Extra: test
Requires-Dist: coverage; extra == 'test'
Requires-Dist: pytest; extra == 'test'
Requires-Dist: pytest-cov; extra == 'test'

xudo-cli
========

*A command line program to replace dockdock, written in Python3*

Installation
------------

``pip 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 | rcash]`` - This will follow the logs of the chosen container

``xudo pull`` - Pulls the Elastic Search and MySQL contianers

``xudo build [-c -m -s -e -r -a -x]`` - Deletes the corresponding process(es) and the image(s) and builds the container from scratch

* -c: Changelog
* -m: Migrations
* -s: Sql
* -e: Email
* -r: Rcash
* -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 debug (php | hbng (app | admin | core))``  - Enables PHP debugging or runs front end unit test debugging

``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/*




