feat(cmd): add sequence
flag to execute multiple functions
This commit is contained in:
parent
30ee41171a
commit
579f2a5df7
5 changed files with 37 additions and 4 deletions
|
@ -37,8 +37,6 @@ func NewBackupCommand(c *config.Config) *cobra.Command {
|
|||
}
|
||||
|
||||
backupCmd.PersistentFlags().BoolVar(&c.ForceCommits, "force", false, "Force git commits / ignore existence check")
|
||||
backupCmd.PersistentFlags().StringVar(&c.GitEmail, "git-email", "", "Git email address")
|
||||
backupCmd.PersistentFlags().StringVar(&c.GPGKey, "signing-key", "", "Path to the GPG signing key")
|
||||
|
||||
return backupCmd
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue