Files
kopia/cli/command_snapshot_restore.go
Jarek Kowalski 0758a92c58 restore: improved user experience (#644)
* restore: improved user experience

* 'snapshot restore' is now the same as 'restore' and both will
  support restoring by manifest ID, root ID or root ID + subdirectory

* added support for restoring individual files

* implemented PR feedback and refactored object ID parsing

Moving helpers inside the snapshot/ package helped clean up the code
a lot.
2020-09-28 22:57:24 -07:00

9 lines
224 B
Go

package cli
var snapshotRestoreCommand = snapshotCommands.Command("restore", restoreCommandHelp)
func init() {
addRestoreFlags(snapshotRestoreCommand)
snapshotRestoreCommand.Action(repositoryAction(runRestoreCommand))
}