{"modulePath":"github.com/dcarbone/consul","version":"v1.4.2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package exec\n\n## Functions\n\n```go\nfunc New(ui cli.Ui, shutdownCh \u003c-chan struct{}) *cmd\n```\n\n## Types\n\n```go\ntype TargetedUI struct {\n\tTarget string\n\tUI     cli.Ui\n}\n```\nTargetedUI is a UI that wraps another UI implementation and modifies the output to indicate a specific target. Specifically, all Say output is prefixed with the target name. Message output is not prefixed but is offset by the length of the target so that output is lined up properly with Say output. Machine-readable output has the proper target set.\n\n```go\nfunc (u *TargetedUI) Ask(query string) (string, error)\n```\n\n```go\nfunc (u *TargetedUI) Error(message string)\n```\n\n```go\nfunc (u *TargetedUI) Info(message string)\n```\n\n```go\nfunc (u *TargetedUI) Output(message string)\n```\n\n","path":"github.com/dcarbone/consul/command/exec","name":"exec","synopsis":"","isRedistributable":true}
