mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 20:01:02 +00:00
798c2bc8b2
* migrate urfave/ci v1 -> v2 * refactor cli (format flag) * log error if agent can not listen on port 3000 close #452
27 lines
464 B
Go
27 lines
464 B
Go
package build
|
|
|
|
import (
|
|
"github.com/urfave/cli/v2"
|
|
|
|
"github.com/woodpecker-ci/woodpecker/cli/common"
|
|
)
|
|
|
|
// Command exports the build command set.
|
|
var Command = &cli.Command{
|
|
Name: "build",
|
|
Usage: "manage builds",
|
|
Flags: common.GlobalFlags,
|
|
Subcommands: []*cli.Command{
|
|
buildListCmd,
|
|
buildLastCmd,
|
|
buildLogsCmd,
|
|
buildInfoCmd,
|
|
buildStopCmd,
|
|
buildStartCmd,
|
|
buildApproveCmd,
|
|
buildDeclineCmd,
|
|
buildQueueCmd,
|
|
buildKillCmd,
|
|
buildPsCmd,
|
|
},
|
|
}
|