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{ var secretCreateCmd = &cli.Command{
Name: "add", Name: "add",
Usage: "add a secret", Usage: "add a secret",
Action: secretCreate, Action: secretCreate,
Flags: []cli.Flag{ Flags: []cli.Flag{
&cli.StringFlag{ &cli.StringFlag{
Name: "name", Name: "name",

View File

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

View File

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

View File

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

View File

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