mirror of
https://github.com/kopia/kopia.git
synced 2026-03-12 11:16:25 -04:00
* 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.
9 lines
224 B
Go
9 lines
224 B
Go
package cli
|
|
|
|
var snapshotRestoreCommand = snapshotCommands.Command("restore", restoreCommandHelp)
|
|
|
|
func init() {
|
|
addRestoreFlags(snapshotRestoreCommand)
|
|
snapshotRestoreCommand.Action(repositoryAction(runRestoreCommand))
|
|
}
|