MCPcopy Create free account

hub / github.com/basecamp/hey-cli / functions

Functions651 in github.com/basecamp/hey-cli

↓ 1 callersMethodLoading
Loading reports whether the section is waiting on data.
internal/tui/section_view.go:55
↓ 1 callersMethodLoginWithCookie
LoginWithCookie stores a session cookie.
internal/auth/auth.go:202
↓ 1 callersMethodLogout
Logout removes stored credentials.
internal/auth/auth.go:211
↓ 1 callersFunctionParseTopicAddressed
ParseTopicAddressed extracts To/CC/BCC recipients from a topic's HTML page.
internal/htmlutil/entries.go:30
↓ 1 callersMethodRefresh
Refresh forces a token refresh.
internal/auth/auth.go:216
↓ 1 callersMethodRequestCount
()
internal/cmd/sdk.go:54
↓ 1 callersMethodTotalLatency
()
internal/cmd/sdk.go:55
↓ 1 callersFunctionUserAgent
UserAgent returns the user agent string for API requests.
internal/version/version.go:31
↓ 1 callersFunctionWithMeta
(key string, value any)
internal/output/envelope.go:40
↓ 1 callersFunctionboxForShortcut
boxForShortcut returns the index of the box matching a Shift+letter shortcut, or -1.
internal/tui/nav.go:115
↓ 1 callersFunctionboxNavItems
boxNavItems builds nav items for the box row, applying icons to known boxes.
internal/tui/nav.go:99
↓ 1 callersFunctionbrowserLogin
browserLogin launches a temporary headless Chrome, logs in, and extracts the session_token cookie value.
tests/smoke/helpers_test.go:270
↓ 1 callersFunctionbuildWeekDayColumn
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 callersFunctionbuildYearDayCell
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 callersFunctioncalendarNavItems
calendarNavItems builds nav items for the calendar row.
internal/tui/nav.go:129
↓ 1 callersFunctioncollectSurface
(cmd *cobra.Command, prefix string)
internal/cmd/surface_test.go:83
↓ 1 callersFunctioncustomHelpFunc
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 callersFunctiondateRangeForMode
dateRangeForMode returns the start and end dates for fetching recordings.
internal/tui/calendar_views.go:40
↓ 1 callersFunctiondayLabelsFromEvents
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 callersMethoddeleteFile
(origin string)
internal/auth/store.go:198
↓ 1 callersFunctionerrorView
--- Error display --- errorView renders a styled error message inside a bordered box.
internal/tui/styles.go:46
↓ 1 callersFunctionexchangeCode
exchangeCode exchanges an authorization code for tokens using PKCE.
internal/auth/oauth.go:27
↓ 1 callersFunctionextractID
(item any)
internal/output/writer.go:263
↓ 1 callersFunctionextractMutationInfo
(data []byte)
internal/cmd/formatting.go:113
↓ 1 callersMethodfetchBoxes
--- Fetch commands ---
internal/tui/mail.go:338
↓ 1 callersMethodfetchCalendars
()
internal/tui/calendar.go:271
↓ 1 callersMethodfetchIdentity
--- Fetch commands ---
internal/tui/calendar.go:254
↓ 1 callersFunctionfilterInheritedFlags
filterInheritedFlags returns formatted flag usages for INHERITED FLAGS, containing only the curated subset of root-level globals.
internal/cmd/help.go:271
↓ 1 callersFunctionfindImages
(n *html.Node, urls *[]string)
internal/htmlutil/htmlutil.go:126
↓ 1 callersFunctionfindProjectRoot
()
tests/smoke/helpers_test.go:196
↓ 1 callersFunctionformatDisplayDate
formatDisplayDate converts an ISO timestamp to "Nov 24, 2025" format.
internal/tui/content.go:14
↓ 1 callersFunctiongenerateCodeChallenge
(verifier string)
internal/auth/oauth.go:122
↓ 1 callersFunctiongenerateCodeVerifier
PKCE helpers
internal/auth/oauth.go:114
↓ 1 callersFunctiongenerateState
generateState generates a random state parameter for CSRF protection.
internal/auth/oauth.go:128
↓ 1 callersMethodhandleKey
--- Key handling ---
internal/tui/tui.go:232
↓ 1 callersMethodhandlePostingAction
--- Posting actions ---
internal/tui/mail.go:242
↓ 1 callersMethodhandleSectionKeys
(msg tea.KeyPressMsg)
internal/tui/tui.go:316
↓ 1 callersMethodhandleSubnavKey
(msg tea.KeyPressMsg)
internal/tui/tui.go:330
↓ 1 callersFunctionhourglassFrameIndex
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 callersFunctioninitSDK
initSDK creates the SDK client, bridging the CLI's auth and config.
internal/cmd/sdk.go:60
↓ 1 callersFunctionisCobraParseError
(err error)
internal/cmd/root.go:225
↓ 1 callersFunctionisTTY
(w io.Writer)
internal/output/writer.go:210
↓ 1 callersFunctionjournalNavItems
journalNavItems builds nav items for the journal date row.
internal/tui/nav.go:138
↓ 1 callersMethodloadFromFile
(origin string)
internal/auth/store.go:175
↓ 1 callersMethodloadFromKeyring
(origin string)
internal/auth/store.go:91
↓ 1 callersFunctionloadingView
loadingView renders an animated hourglass centered in the content area.
internal/tui/loading.go:157
↓ 1 callersFunctionlocalConfigPath
()
internal/config/config.go:95
↓ 1 callersFunctionmigrateOldCredentials
migrateOldCredentials migrates credentials from the old config.json format to the new credential store (keyring or credentials.json).
internal/cmd/root.go:174
↓ 1 callersFunctionnewAuthCommand
()
internal/cmd/auth.go:19
↓ 1 callersFunctionnewAuthLoginCommand
login subcommand
internal/cmd/auth.go:41
↓ 1 callersFunctionnewAuthLogoutCommand
logout subcommand
internal/cmd/auth.go:105
↓ 1 callersFunctionnewAuthRefreshCommand
refresh subcommand
internal/cmd/auth.go:230
↓ 1 callersFunctionnewAuthStatusCommand
status subcommand
internal/cmd/auth.go:124
↓ 1 callersFunctionnewAuthTokenCommand
token subcommand
internal/cmd/auth.go:250
↓ 1 callersFunctionnewBoxCommand
()
internal/cmd/box.go:25
↓ 1 callersFunctionnewBoxesCommand
()
internal/cmd/boxes.go:19
↓ 1 callersFunctionnewCalendarsCommand
()
internal/cmd/calendars.go:15
↓ 1 callersFunctionnewCommandsCommand
()
internal/cmd/commands.go:10
↓ 1 callersFunctionnewCompletionCommand
()
internal/cmd/completion.go:9
↓ 1 callersFunctionnewComposeCommand
()
internal/cmd/compose.go:24
↓ 1 callersFunctionnewConfigCommand
()
internal/cmd/config.go:15
↓ 1 callersFunctionnewConfigSetCommand
()
internal/cmd/config.go:28
↓ 1 callersFunctionnewConfigShowCommand
()
internal/cmd/config.go:62
↓ 1 callersFunctionnewDoctorCommand
()
internal/cmd/doctor.go:18
↓ 1 callersFunctionnewDraftsCommand
()
internal/cmd/drafts.go:19
↓ 1 callersFunctionnewHabitCommand
()
internal/cmd/habit.go:17
↓ 1 callersFunctionnewHabitCompleteCommand
()
internal/cmd/habit.go:40
↓ 1 callersFunctionnewHabitUncompleteCommand
()
internal/cmd/habit.go:96
↓ 1 callersFunctionnewHelpBar
(s styles)
internal/tui/help.go:22
↓ 1 callersFunctionnewJournalCommand
()
internal/cmd/journal.go:18
↓ 1 callersFunctionnewJournalListCommand
()
internal/cmd/journal.go:43
↓ 1 callersFunctionnewJournalReadCommand
()
internal/cmd/journal.go:121
↓ 1 callersFunctionnewJournalWriteCommand
()
internal/cmd/journal.go:190
↓ 1 callersFunctionnewRecordingsCommand
()
internal/cmd/recordings.go:23
↓ 1 callersFunctionnewReplyCommand
()
internal/cmd/reply.go:19
↓ 1 callersFunctionnewSeenCommand
()
internal/cmd/seen.go:16
↓ 1 callersFunctionnewSetupCommand
()
internal/cmd/setup.go:14
↓ 1 callersFunctionnewSkillCommand
()
internal/cmd/skill.go:16
↓ 1 callersFunctionnewSkillInstallCommand
()
internal/cmd/skill_install.go:14
↓ 1 callersFunctionnewThreadsCommand
()
internal/cmd/topic.go:18
↓ 1 callersFunctionnewTimetrackCommand
()
internal/cmd/timetrack.go:17
↓ 1 callersFunctionnewTimetrackCurrentCommand
()
internal/cmd/timetrack.go:136
↓ 1 callersFunctionnewTimetrackListCommand
()
internal/cmd/timetrack.go:192
↓ 1 callersFunctionnewTimetrackStartCommand
()
internal/cmd/timetrack.go:41
↓ 1 callersFunctionnewTimetrackStopCommand
()
internal/cmd/timetrack.go:90
↓ 1 callersFunctionnewTodoAddCommand
()
internal/cmd/todo.go:127
↓ 1 callersFunctionnewTodoCommand
()
internal/cmd/todo.go:16
↓ 1 callersFunctionnewTodoCompleteCommand
()
internal/cmd/todo.go:194
↓ 1 callersFunctionnewTodoDeleteCommand
()
internal/cmd/todo.go:288
↓ 1 callersFunctionnewTodoListCommand
()
internal/cmd/todo.go:43
↓ 1 callersFunctionnewTodoUncompleteCommand
()
internal/cmd/todo.go:241
↓ 1 callersFunctionnewTuiCommand
()
internal/cmd/tui.go:13
↓ 1 callersFunctionnewUnseenCommand
()
internal/cmd/seen.go:63
↓ 1 callersFunctionnormalizeCobraError
(err error)
internal/cmd/root.go:214
↓ 1 callersFunctionopenBrowser
openBrowser opens the specified URL in the default browser.
internal/auth/browser.go:11
↓ 1 callersMethodopenSelected
()
internal/tui/mail.go:227
↓ 1 callersFunctionparentScopedFlags
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 callersFunctionprintAgentHelp
(cmd *cobra.Command)
internal/cmd/root.go:266
↓ 1 callersFunctionrefreshOAuthToken
refreshOAuthToken refreshes an access token using a refresh token.
internal/auth/oauth.go:71
↓ 1 callersFunctionrenderCommandHelp
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
← previousnext →201–300 of 651, ranked by callers