Fix args docs for admin secrets (#5127)

This commit is contained in:
qwerty287 2025-04-26 09:22:15 +03:00 committed by GitHub
parent 59dabe6525
commit bac4431d08
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 15 additions and 20 deletions

View File

@ -28,7 +28,6 @@ import (
var secretCreateCmd = &cli.Command{ var secretCreateCmd = &cli.Command{
Name: "add", Name: "add",
Usage: "add a secret", Usage: "add a secret",
ArgsUsage: "[repo-id|repo-full-name]",
Action: secretCreate, Action: secretCreate,
Flags: []cli.Flag{ Flags: []cli.Flag{
&cli.StringFlag{ &cli.StringFlag{

View File

@ -30,7 +30,6 @@ import (
var secretListCmd = &cli.Command{ var secretListCmd = &cli.Command{
Name: "ls", Name: "ls",
Usage: "list secrets", Usage: "list secrets",
ArgsUsage: "[repo-id|repo-full-name]",
Action: secretList, Action: secretList,
Flags: []cli.Flag{ Flags: []cli.Flag{
common.FormatFlag(tmplSecretList, true), common.FormatFlag(tmplSecretList, true),

View File

@ -25,7 +25,6 @@ import (
var secretDeleteCmd = &cli.Command{ var secretDeleteCmd = &cli.Command{
Name: "rm", Name: "rm",
Usage: "remove a secret", Usage: "remove a secret",
ArgsUsage: "[repo-id|repo-full-name]",
Action: secretDelete, Action: secretDelete,
Flags: []cli.Flag{ Flags: []cli.Flag{
&cli.StringFlag{ &cli.StringFlag{

View File

@ -28,7 +28,6 @@ import (
var secretUpdateCmd = &cli.Command{ var secretUpdateCmd = &cli.Command{
Name: "update", Name: "update",
Usage: "update a secret", Usage: "update a secret",
ArgsUsage: "[repo-id|repo-full-name]",
Action: secretUpdate, Action: secretUpdate,
Flags: []cli.Flag{ Flags: []cli.Flag{
&cli.StringFlag{ &cli.StringFlag{

View File

@ -29,7 +29,6 @@ import (
var secretShowCmd = &cli.Command{ var secretShowCmd = &cli.Command{
Name: "show", Name: "show",
Usage: "show secret information", Usage: "show secret information",
ArgsUsage: "[repo-id|repo-full-name]",
Action: secretShow, Action: secretShow,
Flags: []cli.Flag{ Flags: []cli.Flag{
&cli.StringFlag{ &cli.StringFlag{