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