commands

package
v0.0.0-...-98cc084 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DeployCommand = &cli.Command{
	Name:      "deploy",
	Usage:     "deploy a folder as static page",
	ArgsUsage: "[path/to/.woodpecker.yml]",
	Flags: []cli.Flag{
		&cli.StringFlag{
			Name:    "domain",
			Aliases: []string{"d"},
			Usage:   "domain to deploy to",
		},
	},
	Action: deploy,
}
View Source
var ListCommand = &cli.Command{
	Name:    "list",
	Aliases: []string{"ls"},
	Usage:   "list all pages",
	Action:  list,
}
View Source
var LoginCommand = &cli.Command{
	Name:   "login",
	Usage:  "login to the server",
	Action: login,
}
View Source
var LogoutCommand = &cli.Command{
	Name:   "logout",
	Usage:  "logout from the server",
	Action: logout,
}
View Source
var TeardownCommand = &cli.Command{

	Name:   "teardown",
	Usage:  "teardown a page",
	Action: teardown,
}
View Source
var WhoamiCommand = &cli.Command{
	Name:   "whoami",
	Usage:  "show current user",
	Action: whoami,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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