Move restore to snapshot restore subcommand
Renames the top-level `restore` command to `vaultik snapshot restore` for consistency with `vaultik snapshot create`. The factory follows the sibling pattern (newSnapshotRestoreCommand) and its file is renamed to snapshot_restore.go to match.
This commit is contained in:
1 parent
8d1c8982d7
commit
7a0d5bfd73
5 files changed
+11
-11
No files matched your search
@@ -27,6 +27,7 @@ func NewSnapshotCommand() *cobra.Command {
|
||||
cmd.AddCommand(newSnapshotRemoveCommand())
|
||||
cmd.AddCommand(newSnapshotPruneCommand())
|
||||
cmd.AddCommand(newSnapshotCleanupCommand())
|
||||
cmd.AddCommand(newSnapshotRestoreCommand())
|
||||
|
||||
return cmd
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user