-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Labels
Description
Right now, running watchmaker will immediately start executing. A safer default would be just to print the help. The current functionality could be implemented behind a sub-command, instead, e.g. watchmaker run. This would be introduced without changing the current behavior, just implementing the sub-command(s) and printing a deprecation warning when invoked without a sub-command.
Some sub-command ideas...
init- Copy config file to /etc/watchmaker.yaml or /etc/watchmaker/config.yamlinstall- Invoke aninstallmethod from workers in the config, intended to install the config mgmt pkgsrun- Invoke therunmethod from workers, intended to run the config mgmt toolclean- Invoke thecleanmethod from workers, intended to remove config mgmt pkgs (not any hardening applied by the tool)worker- Run a specific worker from the config