Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runnable ¶
Runnable defines an interface for subcommands that take the global settings and a password.
var Runner Runnable
Runner is the subcommand to run after all arguments were parsed.
type Settings ¶
type Settings struct {
URL string `long:"url" description:"The URL where the server listens for requests" required:"true"`
Username string `long:"username" description:"The username for authenticating on the server" required:"true"`
}
Settings represents the global configuration for the program.
Click to show internal directories.
Click to hide internal directories.