mirror of
https://gitea.com/gitea/tea.git
synced 2026-04-25 09:43:32 +02:00
fix(cmd): Update CmdRepos description and usage in repos.go (#946)
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Reviewed-on: https://gitea.com/gitea/tea/pulls/946 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Nicolas <bircni@icloud.com> Co-committed-by: Nicolas <bircni@icloud.com>
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -17,3 +17,5 @@ dist/
|
||||
.direnv/
|
||||
result
|
||||
result-*
|
||||
|
||||
.DS_Store
|
||||
@@ -15,13 +15,13 @@ import (
|
||||
"github.com/urfave/cli/v3"
|
||||
)
|
||||
|
||||
// CmdRepos represents to login a gitea server.
|
||||
// CmdRepos represents the command to manage repositories.
|
||||
var CmdRepos = cli.Command{
|
||||
Name: "repos",
|
||||
Aliases: []string{"repo"},
|
||||
Category: catEntities,
|
||||
Usage: "Show repository details",
|
||||
Description: "Show repository details",
|
||||
Usage: "Manage repositories",
|
||||
Description: "Manage repositories",
|
||||
ArgsUsage: "[<repo owner>/<repo name>]",
|
||||
Action: runRepos,
|
||||
Commands: []*cli.Command{
|
||||
|
||||
@@ -1065,7 +1065,7 @@ Delete users Organizations
|
||||
|
||||
## repos, repo
|
||||
|
||||
Show repository details
|
||||
Manage repositories
|
||||
|
||||
**--fields, -f**="": Comma-separated list of fields to print. Available values:
|
||||
description,forks,id,name,owner,stars,ssh,updated,url,permission,type
|
||||
|
||||
Reference in New Issue
Block a user