2019-04-06 19:32:14 +00:00
|
|
|
package repo
|
|
|
|
|
2021-10-27 19:03:14 +00:00
|
|
|
import (
|
|
|
|
"github.com/urfave/cli/v2"
|
|
|
|
|
|
|
|
"github.com/woodpecker-ci/woodpecker/cli/common"
|
|
|
|
)
|
2019-04-06 19:32:14 +00:00
|
|
|
|
|
|
|
// Command exports the repository command.
|
2021-10-27 19:03:14 +00:00
|
|
|
var Command = &cli.Command{
|
2019-04-06 19:32:14 +00:00
|
|
|
Name: "repo",
|
|
|
|
Usage: "manage repositories",
|
2021-10-27 19:03:14 +00:00
|
|
|
Flags: common.GlobalFlags,
|
|
|
|
Subcommands: []*cli.Command{
|
2019-04-06 19:32:14 +00:00
|
|
|
repoListCmd,
|
|
|
|
repoInfoCmd,
|
|
|
|
repoAddCmd,
|
|
|
|
repoUpdateCmd,
|
|
|
|
repoRemoveCmd,
|
|
|
|
repoRepairCmd,
|
|
|
|
repoChownCmd,
|
|
|
|
repoSyncCmd,
|
|
|
|
},
|
|
|
|
}
|