setup

package
v4.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL