forked from TrueCloudLab/frostfs-node
[#683] cmd/neofs-adm: Add CLI flags for morph commands
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
c20eb15bd5
commit
6bf01a0a22
6 changed files with 185 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue