mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-29 11:50:37 +00:00
798c2bc8b2
* migrate urfave/ci v1 -> v2 * refactor cli (format flag) * log error if agent can not listen on port 3000 close #452
20 lines
339 B
Go
20 lines
339 B
Go
package user
|
|
|
|
import (
|
|
"github.com/urfave/cli/v2"
|
|
|
|
"github.com/woodpecker-ci/woodpecker/cli/common"
|
|
)
|
|
|
|
// Command exports the user command set.
|
|
var Command = &cli.Command{
|
|
Name: "user",
|
|
Usage: "manage users",
|
|
Flags: common.GlobalFlags,
|
|
Subcommands: []*cli.Command{
|
|
userListCmd,
|
|
userInfoCmd,
|
|
userAddCmd,
|
|
userRemoveCmd,
|
|
},
|
|
}
|