MCPcopy Create free account
hub / github.com/OctopusDeploy/cli / NewUsageError

Function NewUsageError

pkg/usage/usage.go:17–19  ·  view source on GitHub ↗
(s string, cmd *cobra.Command)

Source from the content-addressed store, hash-verified

15}
16
17func NewUsageError(s string, cmd *cobra.Command) *UsageError {
18 return &UsageError{s: s, cmd: cmd}
19}
20
21func (e *UsageError) Error() string {
22 return e.s

Callers 3

PrintResourceFunction · 0.92
PrintArrayFunction · 0.92
ExactArgsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected