This is a simple CLI tool used for shortening long commands around mmetering-server.
Make sure you have at least Python 2.7 installed. To install the application for all users, run:
$ python2 setup.py install
This requires setuptools to be available. The setup script will automatically install all prerequisites and add the mmetering-cli executable to $PATH.
Then you can simply do:
$ mmetering-cli <operation>
Usage: mmetering-cli [OPTIONS] COMMAND [ARGS]... mmetering-cli - CLI tool used for shortening long commands Options: --version Show mmetering-cli version --help Show this message and exit. Commands: migrate Makes migrations and migrates changes mmetering Check the version (--version) restart Restarts all services (TODO: Implement) setup Setup where your mmetering_server... status Checks status of redis, celery and apache test Executes test for the whole project or an app
This code is licensed under the MIT License.