[#1261] neofs-cli: Allow to create bearer tokens

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2022-03-23 15:47:34 +03:00 committed by Alex Vanin
parent ae8e38cace
commit 9b2523a408
3 changed files with 114 additions and 0 deletions

View file

@ -16,6 +16,7 @@ import (
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/nspcc-dev/neo-go/pkg/wallet"
"github.com/nspcc-dev/neofs-node/cmd/neofs-cli/modules/acl"
tokenCli "github.com/nspcc-dev/neofs-node/cmd/neofs-cli/modules/token"
"github.com/nspcc-dev/neofs-node/misc"
"github.com/nspcc-dev/neofs-node/pkg/network"
"github.com/nspcc-dev/neofs-sdk-go/client"
@ -126,6 +127,7 @@ func init() {
rootCmd.Flags().Bool("version", false, "Application version and NeoFS API compatibility")
rootCmd.AddCommand(acl.Cmd)
rootCmd.AddCommand(tokenCli.Cmd)
}
func entryPoint(cmd *cobra.Command, _ []string) {