openstack-health/openstack_health
Anderson Mesquita e820521093 Add command line args to api.py
When called without the config file path, api.py would just raise an
IndexError exception. This makes it a bit more resilient by adding a
required config_file option to the command line.

As a nice side-effect, it also adds a nice helper text allowing the
user/developer to know what's expected in order to successfully run the
API service, either by passing -h, --help, or by not suplying the
config file.

Co-Authored-By: Dhiana Deva <ddeva@thoughtworks.com>
Change-Id: I17aebb01beef8ce7701077924d5146c4de6a47f2
2015-11-10 11:26:05 -02:00
..
tests Extract run aggregation into a separated class 2015-11-05 11:52:19 -02:00
__init__.py Add python bits to the repo 2015-09-14 19:06:08 -04:00
api.py Add command line args to api.py 2015-11-10 11:26:05 -02:00
run_aggregator.py Extract run aggregation into a separated class 2015-11-05 11:52:19 -02:00