This commit is contained in:
qwerty287
2025-04-26 08:45:13 +03:00
parent 9164a45186
commit 3743db9930
5 changed files with 15 additions and 15 deletions

View File

@@ -26,9 +26,9 @@ import (
)
var secretCreateCmd = &cli.Command{
Name: "add",
Usage: "add a secret",
Action: secretCreate,
Name: "add",
Usage: "add a secret",
Action: secretCreate,
Flags: []cli.Flag{
&cli.StringFlag{
Name: "name",

View File

@@ -28,9 +28,9 @@ import (
)
var secretListCmd = &cli.Command{
Name: "ls",
Usage: "list secrets",
Action: secretList,
Name: "ls",
Usage: "list secrets",
Action: secretList,
Flags: []cli.Flag{
common.FormatFlag(tmplSecretList, true),
},

View File

@@ -23,9 +23,9 @@ import (
)
var secretDeleteCmd = &cli.Command{
Name: "rm",
Usage: "remove a secret",
Action: secretDelete,
Name: "rm",
Usage: "remove a secret",
Action: secretDelete,
Flags: []cli.Flag{
&cli.StringFlag{
Name: "name",

View File

@@ -26,9 +26,9 @@ import (
)
var secretUpdateCmd = &cli.Command{
Name: "update",
Usage: "update a secret",
Action: secretUpdate,
Name: "update",
Usage: "update a secret",
Action: secretUpdate,
Flags: []cli.Flag{
&cli.StringFlag{
Name: "name",

View File

@@ -27,9 +27,9 @@ import (
)
var secretShowCmd = &cli.Command{
Name: "show",
Usage: "show secret information",
Action: secretShow,
Name: "show",
Usage: "show secret information",
Action: secretShow,
Flags: []cli.Flag{
&cli.StringFlag{
Name: "name",