923f84722a
Signed-off-by: Pavel Karpy <p.karpy@yadro.com>
22 lines
306 B
Go
22 lines
306 B
Go
package util
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
const (
|
|
signFromFlag = "from"
|
|
signToFlag = "to"
|
|
)
|
|
|
|
var signCmd = &cobra.Command{
|
|
Use: "sign",
|
|
Short: "Sign NeoFS structure",
|
|
}
|
|
|
|
func initSignCmd() {
|
|
signCmd.AddCommand(signBearerCmd, signSessionCmd)
|
|
|
|
initSignBearerCmd()
|
|
initSignSessionCmd()
|
|
}
|