Version 0.2.4

* Notifications now display errors and the output of the failed command.
* CI configs for GitHub and Woodpecker
* Added `version` subcommand
* Console logging can be disabled by setting `console-disabled` in the
`logging` object
* If Host was not defined for an incomplete `hosts` object, any commands
would fail as they could not look up the values in the SSH config files.
This commit is contained in:
2023-02-18 22:42:15 -06:00
parent 02321870b5
commit ee83586072
23 changed files with 461 additions and 223 deletions

View File

@ -12,11 +12,10 @@ import (
var (
backupCmd = &cobra.Command{
Use: "backup [--lists==list1,list2]",
Use: "backup [--lists=list1,list2]",
Short: "Runs commands defined in config file.",
Long: `Backup executes commands defined in config file.
Use the --lists flag to execute the specified commands.`,
Run: Backup,
Long: "Backup executes commands defined in config file.\nUse the --lists flag to execute the specified commands. If not specified, all lists will be executed.",
Run: Backup,
}
)