Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/basecamp/hey-cli
/ Error
Method
Error
internal/cmd/args.go:14–16 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
12
}
13
14
func
(e usageError) Error() string {
15
return
"Usage: "
+ e.usage
16
}
17
18
func
usageErrorf(format string, args ...any) error {
19
return
usageError{usage: fmt.Sprintf(format, args...)}
Callers
15
TestUsageExactArgs
Function · 0.45
TestValidateBoxArgs
Function · 0.45
TestPaginateBoxPostings_NoFlagsSinglePage
Function · 0.45
TestPaginateBoxPostings_LimitExceedsFirstPage
Function · 0.45
TestPaginateBoxPostings_LimitSatisfiedByFirstPage
Function · 0.45
TestTodoAddConflict
Function · 0.45
TestTodoAddEmpty
Function · 0.45
TestSeenNoArgs
Function · 0.45
TestUnseenNoArgs
Function · 0.45
Execute
Function · 0.45
normalizeCobraError
Function · 0.45
isCobraParseError
Function · 0.45
Calls
no outgoing calls
Tested by
14
TestUsageExactArgs
Function · 0.36
TestValidateBoxArgs
Function · 0.36
TestPaginateBoxPostings_NoFlagsSinglePage
Function · 0.36
TestPaginateBoxPostings_LimitExceedsFirstPage
Function · 0.36
TestPaginateBoxPostings_LimitSatisfiedByFirstPage
Function · 0.36
TestTodoAddConflict
Function · 0.36
TestTodoAddEmpty
Function · 0.36
TestSeenNoArgs
Function · 0.36
TestUnseenNoArgs
Function · 0.36
TestJournalWriteConflictFlagAndPositional
Function · 0.36
TestJournalWriteTwoPositionalsInvalidDate
Function · 0.36
TestJournalWriteConflictFlagAndTwoPositionals
Function · 0.36