[#1402] cli: Add cid
flag constant
Also, move common flag constants in `root` file of the `storagegroup` package. Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
6f2363cf31
commit
bc5882fc89
6 changed files with 16 additions and 17 deletions
|
@ -19,6 +19,12 @@ var Cmd = &cobra.Command{
|
|||
},
|
||||
}
|
||||
|
||||
const (
|
||||
sgIDFlag = "id"
|
||||
sgRawFlag = "raw"
|
||||
cidFlag = "cid"
|
||||
)
|
||||
|
||||
func init() {
|
||||
storageGroupChildCommands := []*cobra.Command{
|
||||
sgPutCmd,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue