2019-04-06 19:32:14 +00:00
|
|
|
package build
|
|
|
|
|
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 build command set.
|
2021-10-27 19:03:14 +00:00
|
|
|
var Command = &cli.Command{
|
2019-04-06 19:32:14 +00:00
|
|
|
Name: "build",
|
|
|
|
Usage: "manage builds",
|
2021-10-27 19:03:14 +00:00
|
|
|
Flags: common.GlobalFlags,
|
|
|
|
Subcommands: []*cli.Command{
|
2019-04-06 19:32:14 +00:00
|
|
|
buildListCmd,
|
|
|
|
buildLastCmd,
|
|
|
|
buildLogsCmd,
|
|
|
|
buildInfoCmd,
|
|
|
|
buildStopCmd,
|
|
|
|
buildStartCmd,
|
|
|
|
buildApproveCmd,
|
|
|
|
buildDeclineCmd,
|
|
|
|
buildQueueCmd,
|
|
|
|
buildKillCmd,
|
|
|
|
buildPsCmd,
|
|
|
|
},
|
|
|
|
}
|