Provide Engine & Log Command Line Arguments #60

Closed
opened 2022-07-05 01:38:44 +02:00 by blacklight · 0 comments
Owner

Created by: julianrichen

Currently you can override the config.yaml location via the command line:

../platypush -c "/path/to/config.yaml"

It would be nice if we could override the engine location and log location via the command line like:

../platypush -e /path/to/engine.db -l /path/to/log/dir/

Currently it can be done via the config.yaml but it would be nice to do it via the command line. I have Ansible script to deploy the application to my server and config.yaml is provided in the playbook before I calculate were the engine or log will be stored. It would be nice to let me set the default locations I expect to deploy the file and if needed I can override it in the config.yaml I later deploy.

*Created by: julianrichen* Currently you can override the `config.yaml` location via the command line: ``` ../platypush -c "/path/to/config.yaml" ``` It would be nice if we could override the engine location and log location via the command line like: ``` ../platypush -e /path/to/engine.db -l /path/to/log/dir/ ``` Currently it can be done via the `config.yaml` but it would be nice to do it via the command line. I have Ansible script to deploy the application to my server and `config.yaml` is provided in the playbook before I calculate were the engine or log will be stored. It would be nice to let me set the default locations I expect to deploy the file and if needed I can override it in the `config.yaml` I later deploy.
blacklight added the
enhancement
label 2022-07-05 01:38:44 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: platypush/platypush#60
No description provided.