mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-12 11:36:29 +00:00
798c2bc8b2
* migrate urfave/ci v1 -> v2 * refactor cli (format flag) * log error if agent can not listen on port 3000 close #452
24 lines
413 B
Go
24 lines
413 B
Go
package repo
|
|
|
|
import (
|
|
"github.com/urfave/cli/v2"
|
|
|
|
"github.com/woodpecker-ci/woodpecker/cli/common"
|
|
)
|
|
|
|
// Command exports the repository command.
|
|
var Command = &cli.Command{
|
|
Name: "repo",
|
|
Usage: "manage repositories",
|
|
Flags: common.GlobalFlags,
|
|
Subcommands: []*cli.Command{
|
|
repoListCmd,
|
|
repoInfoCmd,
|
|
repoAddCmd,
|
|
repoUpdateCmd,
|
|
repoRemoveCmd,
|
|
repoRepairCmd,
|
|
repoChownCmd,
|
|
repoSyncCmd,
|
|
},
|
|
}
|