mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-18 21:18:48 +00:00
format
This commit is contained in:
@@ -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",
|
||||
|
@@ -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),
|
||||
},
|
||||
|
@@ -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",
|
||||
|
@@ -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",
|
||||
|
@@ -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",
|
||||
|
Reference in New Issue
Block a user