cmd

package
v0.0.0-...-a002913 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2015 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsUserAbortedError

func IsUserAbortedError(err error) bool

IsUserAbortedError returns true if err is of type userAbortedError.

func NewSubSuperCommand

func NewSubSuperCommand(p cmd.SuperCommandParams) *cmd.SuperCommand

NewSubSuperCommand should be used to create a SuperCommand that runs as a subcommand of some other SuperCommand.

func NewSuperCommand

func NewSuperCommand(p cmd.SuperCommandParams) *cmd.SuperCommand

NewSuperCommand is like cmd.NewSuperCommand but it adds juju-specific functionality: - The default logging configuration is taken from the environment; - The version is configured to the current juju version; - The command emits a log message when a command runs.

func UserConfirmYes

func UserConfirmYes(ctx *cmd.Context) error

UserConfirmYes returns an error if we do not read a "y" or "yes" from user input.

Types

This section is empty.

Directories

Path Synopsis
storage
The storage command provides a storage management interface, for manipulating and inspecting storage entities (volumes, filesystems, charm storage).
The storage command provides a storage management interface, for manipulating and inspecting storage entities (volumes, filesystems, charm storage).
agent
agent contains jujud's machine agent.
agent contains jujud's machine agent.
plugins

Jump to

Keyboard shortcuts

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