usage: app.py [-h] [--fresh-start FRESH_START]
[--create-api-key CREATE_API_KEY]
[--create-shortlink CREATE_SHORTLINK]
[--server-start SERVER_START]
optional arguments:
-h, --help show this help message and exit
--fresh-start FRESH_START
Runs DB fresh start creating the relative tables.
--create-api-key CREATE_API_KEY
Creates and returns an API key, please provide your
email as argument.
--create-shortlink CREATE_SHORTLINK
Creates a shortlink alias via commandline, provide a
full URL as argument.
--server-start SERVER_START
Starts the server.
- Example usage for your first start after cloning the repository:
python app.py --fresh-start=1 [email protected] --server-start=1