Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
17
func
NewUsageError(s string, cmd *cobra.Command) *UsageError {
18
return
&UsageError{s: s, cmd: cmd}
19
}
20
21
func
(e *UsageError) Error() string {
22
return
e.s
Callers
3
PrintResource
Function · 0.92
PrintArray
Function · 0.92
ExactArgs
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected