Documentation
¶
Overview ¶
Package cli exposes donkey's CLI as a command that can be embedded in other urfave/cli applications.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Command ¶
func Command(options RunOptions) *urfavecli.Command
Command returns donkey's command tree for attachment to another urfave/cli application.
Types ¶
type RunOptions ¶
type RunOptions struct {
// DisableManagement omits commands and flags that install or manage the
// donkey control plane. Commands that use an existing server remain
// available.
DisableManagement bool
// Server provides the default donkey-server URL when the user has not
// selected and saved one. An explicit login --server overrides it.
Server string
}
RunOptions controls which donkey capabilities an embedding CLI exposes.
Click to show internal directories.
Click to hide internal directories.