# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
BoolFromString parses a string and returns *upcloud.Boolean.
BuildCommand sets up a Command with the specified config and adds it to Cobra.
HandleError updates error details to progress log message identified by given key.
New returns a BaseCommand that implements Command.
NewExecutor creates the default Executor.
Parse calls `ParseN()` with `n` -1: eg.
ParseN parses a complex, querystring-type argument from `in` and splits values to `n` amount of substrings e.g.
ParseSSHKeys parses strings that can be either actual public keys or file names referring public key files.
SearchResources is a convenience method to map a list of resources to uuids.
ToArray turns an interface{} to a slice of interface{}s.
WrapLongDescription wraps Long description messages at 80 characters and removes trailing whitespace from the message.
# Structs
BaseCommand is the base type for all commands, implementing Command.
# Interfaces
CobraCommand is an interface for commands that can refer back to their base cobra.Command.
Command is the base command type for all commands.
Executor represents the execution context for commands.
MultipleArgumentCommand is a command that can accept multiple positional arguments, each of which will result in a (parallel) call to Execute() with the argument.
NoArgumentCommand is a command that does not care about the positional arguments.
OfflineCommand is a command that does not need connect to the API, e.g.
SingleArgumentCommand is a command that accepts exactly one positional argument.