Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &cli.Command{
Name: "setup",
Usage: "setup the crow-cli for the first time",
ArgsUsage: "[server]",
Flags: []cli.Flag{
&cli.StringFlag{
Sources: cli.EnvVars("WOODPECKER_SERVER", "CROW_SERVER"),
Name: "server",
Usage: "URL of the Crow server",
},
&cli.StringFlag{
Sources: cli.EnvVars("WOODPECKER_TOKEN", "CROW_TOKEN"),
Name: "token",
Usage: "token to authenticate with the Crow server",
},
},
Action: setup,
}
Command exports the setup command.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.