{"modulePath":"github.com/OctopusDeploy/cli","version":"v1.7.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package usage\n\n## Functions\n\n```go\nfunc ExactArgs(n int) cobra.PositionalArgs\n```\nArgument validation helper which emits a UsageError rather than a plain string error\n\n## Types\n\n```go\ntype UsageError struct {\n\t// contains filtered or unexported fields\n}\n```\nUsageError indicates the caller has not invoked the CLI properly and the root error handler should print the usage/help\n\n```go\nfunc NewUsageError(s string, cmd *cobra.Command) *UsageError\n```\n\n```go\nfunc (e *UsageError) Command() *cobra.Command\n```\n\n```go\nfunc (e *UsageError) Error() string\n```\n\n","path":"github.com/OctopusDeploy/cli/pkg/usage","name":"usage","synopsis":"","isRedistributable":true}
