Command line arguments¶
Running python3 -m sni --help
outputs the following:
usage: __main__.py [-h] [-f FILE] [--flush-cache] [--migrate-database]
[--print-configuration-spec] [--print-openapi-spec]
[--reload-esi-openapi-spec]
SeAT Navy Issue
optional arguments:
-h, --help show this help message and exit
-f FILE, --file FILE Specify an alternate configuration file (default:
./sni.yml)
--flush-cache Flushes the Redis cache
--migrate-database Runs database migration jobs and exits
--print-configuration-spec
Prints the configuration file specification in JSON
and exits
--print-openapi-spec Prints the OpenAPI specification in YAML and exits
--reload-esi-openapi-spec
Reloads the ESI OpenAPI specification to the database
and exits