Create root command via function

This commit is contained in:
Michael Eischer
2025-02-07 21:29:33 +01:00
parent aa9cdf93cf
commit 412d6d9ec5
43 changed files with 163 additions and 215 deletions
-4
View File
@@ -54,10 +54,6 @@ Exit status is 12 if the password is incorrect.
return cmd
}
func init() {
cmdRoot.AddCommand(newDumpCommand())
}
// DumpOptions collects all options for the dump command.
type DumpOptions struct {
restic.SnapshotFilter