[#1086] neofs-cli: add command for shard restore

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2022-01-25 14:57:58 +03:00 committed by Alex Vanin
parent 18cfd8b042
commit 3407fef799
2 changed files with 78 additions and 0 deletions

View file

@ -182,6 +182,7 @@ func init() {
shardsCmd.AddCommand(listShardsCmd)
shardsCmd.AddCommand(setShardModeCmd)
shardsCmd.AddCommand(dumpShardCmd)
shardsCmd.AddCommand(restoreShardCmd)
controlCmd.AddCommand(
healthCheckCmd,
@ -198,6 +199,7 @@ func init() {
initControlShardsListCmd()
initControlSetShardModeCmd()
initControlDumpShardCmd()
initControlRestoreShardCmd()
}
func healthCheck(cmd *cobra.Command, _ []string) {