Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/basecamp/hey-cli
/ functions
Functions
651 in github.com/basecamp/hey-cli
⨍
Functions
651
◇
Types & classes
120
↓ 1 callers
Method
Loading
Loading reports whether the section is waiting on data.
internal/tui/section_view.go:55
↓ 1 callers
Method
LoginWithCookie
LoginWithCookie stores a session cookie.
internal/auth/auth.go:202
↓ 1 callers
Method
Logout
Logout removes stored credentials.
internal/auth/auth.go:211
↓ 1 callers
Function
ParseTopicAddressed
ParseTopicAddressed extracts To/CC/BCC recipients from a topic's HTML page.
internal/htmlutil/entries.go:30
↓ 1 callers
Method
Refresh
Refresh forces a token refresh.
internal/auth/auth.go:216
↓ 1 callers
Method
RequestCount
()
internal/cmd/sdk.go:54
↓ 1 callers
Method
TotalLatency
()
internal/cmd/sdk.go:55
↓ 1 callers
Function
UserAgent
UserAgent returns the user agent string for API requests.
internal/version/version.go:31
↓ 1 callers
Function
WithMeta
(key string, value any)
internal/output/envelope.go:40
↓ 1 callers
Function
boxForShortcut
boxForShortcut returns the index of the box matching a Shift+letter shortcut, or -1.
internal/tui/nav.go:115
↓ 1 callers
Function
boxNavItems
boxNavItems builds nav items for the box row, applying icons to known boxes.
internal/tui/nav.go:99
↓ 1 callers
Function
browserLogin
browserLogin launches a temporary headless Chrome, logs in, and extracts the session_token cookie value.
tests/smoke/helpers_test.go:270
↓ 1 callers
Function
buildWeekDayColumn
buildWeekDayColumn returns styled lines for one day column. Order: habits at top, timed events in the middle, all-day at bottom.
internal/tui/calendar_views.go:554
↓ 1 callers
Function
buildYearDayCell
buildYearDayCell returns styled lines for one day cell in the year grid. Line 0: day label. Lines 1+: truncated event titles.
internal/tui/calendar_views.go:697
↓ 1 callers
Function
calendarNavItems
calendarNavItems builds nav items for the calendar row.
internal/tui/nav.go:129
↓ 1 callers
Function
collectSurface
(cmd *cobra.Command, prefix string)
internal/cmd/surface_test.go:83
↓ 1 callers
Function
customHelpFunc
customHelpFunc returns a help function that renders styled help for all commands: agent JSON when --agent is set, curated categories for root, and a c
internal/cmd/help.go:40
↓ 1 callers
Function
dateRangeForMode
dateRangeForMode returns the start and end dates for fetching recordings.
internal/tui/calendar_views.go:40
↓ 1 callers
Function
dayLabelsFromEvents
dayLabelsFromEvents builds a map of date → custom label from recordings that have a Label set (named days in HEY).
internal/tui/calendar_views.go:144
↓ 1 callers
Method
deleteFile
(origin string)
internal/auth/store.go:198
↓ 1 callers
Function
errorView
--- Error display --- errorView renders a styled error message inside a bordered box.
internal/tui/styles.go:46
↓ 1 callers
Function
exchangeCode
exchangeCode exchanges an authorization code for tokens using PKCE.
internal/auth/oauth.go:27
↓ 1 callers
Function
extractID
(item any)
internal/output/writer.go:263
↓ 1 callers
Function
extractMutationInfo
(data []byte)
internal/cmd/formatting.go:113
↓ 1 callers
Method
fetchBoxes
--- Fetch commands ---
internal/tui/mail.go:338
↓ 1 callers
Method
fetchCalendars
()
internal/tui/calendar.go:271
↓ 1 callers
Method
fetchIdentity
--- Fetch commands ---
internal/tui/calendar.go:254
↓ 1 callers
Function
filterInheritedFlags
filterInheritedFlags returns formatted flag usages for INHERITED FLAGS, containing only the curated subset of root-level globals.
internal/cmd/help.go:271
↓ 1 callers
Function
findImages
(n *html.Node, urls *[]string)
internal/htmlutil/htmlutil.go:126
↓ 1 callers
Function
findProjectRoot
()
tests/smoke/helpers_test.go:196
↓ 1 callers
Function
formatDisplayDate
formatDisplayDate converts an ISO timestamp to "Nov 24, 2025" format.
internal/tui/content.go:14
↓ 1 callers
Function
generateCodeChallenge
(verifier string)
internal/auth/oauth.go:122
↓ 1 callers
Function
generateCodeVerifier
PKCE helpers
internal/auth/oauth.go:114
↓ 1 callers
Function
generateState
generateState generates a random state parameter for CSRF protection.
internal/auth/oauth.go:128
↓ 1 callers
Method
handleKey
--- Key handling ---
internal/tui/tui.go:232
↓ 1 callers
Method
handlePostingAction
--- Posting actions ---
internal/tui/mail.go:242
↓ 1 callers
Method
handleSectionKeys
(msg tea.KeyPressMsg)
internal/tui/tui.go:316
↓ 1 callers
Method
handleSubnavKey
(msg tea.KeyPressMsg)
internal/tui/tui.go:330
↓ 1 callers
Function
hourglassFrameIndex
hourglassFrameIndex maps a continuous phase value to a frame index. Drain frames play slower (~430ms each), flip frames play faster (~200ms each).
internal/tui/loading.go:145
↓ 1 callers
Function
initSDK
initSDK creates the SDK client, bridging the CLI's auth and config.
internal/cmd/sdk.go:60
↓ 1 callers
Function
isCobraParseError
(err error)
internal/cmd/root.go:225
↓ 1 callers
Function
isTTY
(w io.Writer)
internal/output/writer.go:210
↓ 1 callers
Function
journalNavItems
journalNavItems builds nav items for the journal date row.
internal/tui/nav.go:138
↓ 1 callers
Method
loadFromFile
(origin string)
internal/auth/store.go:175
↓ 1 callers
Method
loadFromKeyring
(origin string)
internal/auth/store.go:91
↓ 1 callers
Function
loadingView
loadingView renders an animated hourglass centered in the content area.
internal/tui/loading.go:157
↓ 1 callers
Function
localConfigPath
()
internal/config/config.go:95
↓ 1 callers
Function
migrateOldCredentials
migrateOldCredentials migrates credentials from the old config.json format to the new credential store (keyring or credentials.json).
internal/cmd/root.go:174
↓ 1 callers
Function
newAuthCommand
()
internal/cmd/auth.go:19
↓ 1 callers
Function
newAuthLoginCommand
login subcommand
internal/cmd/auth.go:41
↓ 1 callers
Function
newAuthLogoutCommand
logout subcommand
internal/cmd/auth.go:105
↓ 1 callers
Function
newAuthRefreshCommand
refresh subcommand
internal/cmd/auth.go:230
↓ 1 callers
Function
newAuthStatusCommand
status subcommand
internal/cmd/auth.go:124
↓ 1 callers
Function
newAuthTokenCommand
token subcommand
internal/cmd/auth.go:250
↓ 1 callers
Function
newBoxCommand
()
internal/cmd/box.go:25
↓ 1 callers
Function
newBoxesCommand
()
internal/cmd/boxes.go:19
↓ 1 callers
Function
newCalendarsCommand
()
internal/cmd/calendars.go:15
↓ 1 callers
Function
newCommandsCommand
()
internal/cmd/commands.go:10
↓ 1 callers
Function
newCompletionCommand
()
internal/cmd/completion.go:9
↓ 1 callers
Function
newComposeCommand
()
internal/cmd/compose.go:24
↓ 1 callers
Function
newConfigCommand
()
internal/cmd/config.go:15
↓ 1 callers
Function
newConfigSetCommand
()
internal/cmd/config.go:28
↓ 1 callers
Function
newConfigShowCommand
()
internal/cmd/config.go:62
↓ 1 callers
Function
newDoctorCommand
()
internal/cmd/doctor.go:18
↓ 1 callers
Function
newDraftsCommand
()
internal/cmd/drafts.go:19
↓ 1 callers
Function
newHabitCommand
()
internal/cmd/habit.go:17
↓ 1 callers
Function
newHabitCompleteCommand
()
internal/cmd/habit.go:40
↓ 1 callers
Function
newHabitUncompleteCommand
()
internal/cmd/habit.go:96
↓ 1 callers
Function
newHelpBar
(s styles)
internal/tui/help.go:22
↓ 1 callers
Function
newJournalCommand
()
internal/cmd/journal.go:18
↓ 1 callers
Function
newJournalListCommand
()
internal/cmd/journal.go:43
↓ 1 callers
Function
newJournalReadCommand
()
internal/cmd/journal.go:121
↓ 1 callers
Function
newJournalWriteCommand
()
internal/cmd/journal.go:190
↓ 1 callers
Function
newRecordingsCommand
()
internal/cmd/recordings.go:23
↓ 1 callers
Function
newReplyCommand
()
internal/cmd/reply.go:19
↓ 1 callers
Function
newSeenCommand
()
internal/cmd/seen.go:16
↓ 1 callers
Function
newSetupCommand
()
internal/cmd/setup.go:14
↓ 1 callers
Function
newSkillCommand
()
internal/cmd/skill.go:16
↓ 1 callers
Function
newSkillInstallCommand
()
internal/cmd/skill_install.go:14
↓ 1 callers
Function
newThreadsCommand
()
internal/cmd/topic.go:18
↓ 1 callers
Function
newTimetrackCommand
()
internal/cmd/timetrack.go:17
↓ 1 callers
Function
newTimetrackCurrentCommand
()
internal/cmd/timetrack.go:136
↓ 1 callers
Function
newTimetrackListCommand
()
internal/cmd/timetrack.go:192
↓ 1 callers
Function
newTimetrackStartCommand
()
internal/cmd/timetrack.go:41
↓ 1 callers
Function
newTimetrackStopCommand
()
internal/cmd/timetrack.go:90
↓ 1 callers
Function
newTodoAddCommand
()
internal/cmd/todo.go:127
↓ 1 callers
Function
newTodoCommand
()
internal/cmd/todo.go:16
↓ 1 callers
Function
newTodoCompleteCommand
()
internal/cmd/todo.go:194
↓ 1 callers
Function
newTodoDeleteCommand
()
internal/cmd/todo.go:288
↓ 1 callers
Function
newTodoListCommand
()
internal/cmd/todo.go:43
↓ 1 callers
Function
newTodoUncompleteCommand
()
internal/cmd/todo.go:241
↓ 1 callers
Function
newTuiCommand
()
internal/cmd/tui.go:13
↓ 1 callers
Function
newUnseenCommand
()
internal/cmd/seen.go:63
↓ 1 callers
Function
normalizeCobraError
(err error)
internal/cmd/root.go:214
↓ 1 callers
Function
openBrowser
openBrowser opens the specified URL in the default browser.
internal/auth/browser.go:11
↓ 1 callers
Method
openSelected
()
internal/tui/mail.go:227
↓ 1 callers
Function
parentScopedFlags
parentScopedFlags returns inherited flags that originate from a non-root parent command. These are promoted into the FLAGS section so they're immediat
internal/cmd/help.go:256
↓ 1 callers
Function
printAgentHelp
(cmd *cobra.Command)
internal/cmd/root.go:266
↓ 1 callers
Function
refreshOAuthToken
refreshOAuthToken refreshes an access token using a refresh token.
internal/auth/oauth.go:71
↓ 1 callers
Function
renderCommandHelp
renderCommandHelp renders styled help for any non-root command, reading structure from cobra's command tree rather than hardcoding per-command.
internal/cmd/help.go:144
← previous
next →
201–300 of 651, ranked by callers