Commit graph

56 commits

Author SHA1 Message Date
InsanePrawn
32fbc7529b config profiles: add optional user password 2021-09-26 17:19:30 +02:00
InsanePrawn
144acee10f WIP: Improve config parsing, make --verbose and --config-file global options
Bonus: Generalize and reuse cmd_ssh()

Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
2021-09-26 17:19:30 +02:00
InsanePrawn
4cf608eeb6 load_config(): add merge_defaults parameter, fix accidental overwriting of default profile when merging 2021-09-26 17:19:30 +02:00
InsanePrawn
7f153c214c config.py: formatting 2021-09-26 17:19:30 +02:00
InsanePrawn
9cc09e4f5b config: add config parsing and merging
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
2021-09-26 17:19:30 +02:00
InsanePrawn
07c61f9a33 Add first draft for config parsing
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
2021-09-26 17:19:30 +02:00