[#683] cmd/neofs-adm: Add CLI flags for morph commands

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2021-07-09 12:53:10 +03:00 committed by Alex Vanin
parent c20eb15bd5
commit 6bf01a0a22
6 changed files with 185 additions and 0 deletions

View file

@ -4,6 +4,7 @@ import (
"fmt"
"github.com/nspcc-dev/neofs-node/cmd/neofs-adm/internal/modules/config"
"github.com/nspcc-dev/neofs-node/cmd/neofs-adm/internal/modules/morph"
"github.com/nspcc-dev/neofs-node/misc"
"github.com/spf13/cobra"
"github.com/spf13/viper"
@ -31,6 +32,7 @@ func init() {
rootCmd.Flags().Bool("version", false, "application version")
rootCmd.AddCommand(config.RootCmd)
rootCmd.AddCommand(morph.RootCmd)
}
func Execute() error {