Documentation ¶
Overview ¶
Package cli is the entrypoint to writing a custom CLI for a service built using the DC/OS SDK. It provides a number of standard subcommands that allow users to interact with their service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetArguments ¶
func GetArguments() []string
GetArguments returns an array of the arguments passed into this CLI.
func GetModuleName ¶
GetModuleName returns the module name, if it was passed in, or an error otherwise.
func HandleDefaultSections ¶
func HandleDefaultSections(app *kingpin.Application)
HandleDefaultSections is a utility method to allow applications built around this library to provide all of the standard subcommands of the CLI.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package client implements a set of common functionality that are used by DC/OS SDK commands to talk to schedulers built using the SDK or other DC/OS components (e.g.
|
Package client implements a set of common functionality that are used by DC/OS SDK commands to talk to schedulers built using the SDK or other DC/OS components (e.g. |
Click to show internal directories.
Click to hide internal directories.