Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0xjuanma/helm
/ functions
Functions
110 in github.com/0xjuanma/helm
⨍
Functions
110
◇
Types & classes
17
↓ 11 callers
Function
NewSession
(w *workflow.Workflow)
internal/timer/session.go:14
↓ 10 callers
Function
New
(d time.Duration)
internal/timer/timer.go:19
↓ 8 callers
Function
newTestWorkflow
(loop bool)
internal/timer/session_test.go:10
↓ 8 callers
Function
setTitle
(title string)
internal/tui/update.go:211
↓ 7 callers
Method
NextStep
()
internal/timer/session.go:38
↓ 5 callers
Method
Normalize
()
internal/config/config.go:92
↓ 5 callers
Method
Start
()
internal/timer/timer.go:27
↓ 5 callers
Method
updateTitle
()
internal/tui/update.go:196
↓ 4 callers
Function
DefaultSoundConfig
()
internal/config/config.go:55
↓ 4 callers
Method
Reset
()
internal/timer/timer.go:46
↓ 4 callers
Method
ResetWith
(d time.Duration)
internal/timer/timer.go:50
↓ 4 callers
Method
editMenuLayout
()
internal/tui/customize.go:108
↓ 4 callers
Function
tickCmd
()
internal/tui/model.go:75
↓ 3 callers
Method
BuildWorkflows
()
internal/config/config.go:122
↓ 3 callers
Method
CurrentStepName
()
internal/timer/session.go:30
↓ 3 callers
Method
Tick
(d time.Duration)
internal/timer/timer.go:56
↓ 3 callers
Function
bell
(cfg config.SoundConfig)
internal/tui/update.go:222
↓ 3 callers
Method
currentStep
()
internal/timer/session.go:26
↓ 2 callers
Function
DefaultConfig
()
internal/config/config.go:63
↓ 2 callers
Method
GetTransitionDelay
GetTransitionDelay returns the transition delay, clamped to valid range
internal/config/config.go:82
↓ 2 callers
Function
IsOlder
IsOlder returns true if versionA is older than versionB. Supports semantic versions like "v1.2.3" or "1.2.3".
internal/version/version.go:15
↓ 2 callers
Function
Load
()
internal/config/storage.go:44
↓ 2 callers
Function
NewQuickModel
(minutes int)
internal/tui/model.go:54
↓ 2 callers
Method
Pause
()
internal/timer/timer.go:31
↓ 2 callers
Function
Quick
(d time.Duration)
internal/workflow/presets.go:23
↓ 2 callers
Function
Save
(cfg *Config)
internal/config/storage.go:104
↓ 2 callers
Method
StepCount
()
internal/workflow/workflow.go:17
↓ 2 callers
Method
StepProgress
()
internal/timer/session.go:34
↓ 2 callers
Method
Toggle
()
internal/timer/timer.go:37
↓ 2 callers
Function
configPath
()
internal/config/storage.go:16
↓ 2 callers
Function
decideUpdate
decideUpdate returns whether runUpdate should shell out to the installer, plus a user-facing message to print first. It is pure (no I/O) so the policy
cmd/update.go:54
↓ 2 callers
Function
newProgressBar
()
internal/tui/styles.go:100
↓ 2 callers
Method
progress
()
internal/tui/model.go:81
↓ 2 callers
Function
renderLargeTime
(timeStr string)
internal/tui/digits.go:85
↓ 2 callers
Function
validateQuickMinutes
(m int)
cmd/root.go:59
↓ 1 callers
Function
CheckLatest
CheckLatest fetches the latest release version from GitHub. Uses GitHub's redirect URL which is simpler than the API. Returns the version tag (e.g., "
internal/version/version.go:49
↓ 1 callers
Function
Execute
()
cmd/root.go:66
↓ 1 callers
Method
GetWorkflowSound
GetWorkflowSound returns the sound config for a workflow by index, or default if not set
internal/config/config.go:103
↓ 1 callers
Method
IsComplete
()
internal/timer/timer.go:73
↓ 1 callers
Method
IsRunning
()
internal/timer/timer.go:69
↓ 1 callers
Method
IsValid
()
internal/config/config.go:177
↓ 1 callers
Function
NewModel
()
internal/tui/model.go:43
↓ 1 callers
Function
Play
Play emits a sound based on the provided configuration. If the system notification fails, it falls back to the terminal bell.
internal/sound/sound.go:13
↓ 1 callers
Function
Pomodoro
()
internal/workflow/presets.go:5
↓ 1 callers
Method
Reset
()
internal/timer/session.go:54
↓ 1 callers
Method
ToWorkflow
()
internal/config/config.go:145
↓ 1 callers
Method
View
()
internal/tui/view.go:13
↓ 1 callers
Method
applyInput
()
internal/tui/customize.go:228
↓ 1 callers
Function
calcTotalTime
(steps []workflow.Step)
internal/tui/view.go:150
↓ 1 callers
Method
cycleSoundState
()
internal/tui/customize.go:406
↓ 1 callers
Function
detectInstallationMethod
detectInstallationMethod returns "homebrew" or "script" based on how helm was installed.
cmd/update.go:104
↓ 1 callers
Function
formatDuration
(d time.Duration)
internal/tui/view.go:158
↓ 1 callers
Method
formatEditLine
(idx int, text string)
internal/tui/customize.go:396
↓ 1 callers
Method
handleCompleteKey
(msg tea.KeyMsg)
internal/tui/update.go:138
↓ 1 callers
Method
handleDeleteStep
()
internal/tui/customize.go:187
↓ 1 callers
Method
handleEditSelect
()
internal/tui/customize.go:152
↓ 1 callers
Method
handleKey
(msg tea.KeyMsg)
internal/tui/update.go:32
↓ 1 callers
Method
handleSelectKey
(msg tea.KeyMsg)
internal/tui/update.go:48
↓ 1 callers
Method
handleTick
()
internal/tui/update.go:154
↓ 1 callers
Method
handleTimerKey
(msg tea.KeyMsg)
internal/tui/update.go:76
↓ 1 callers
Method
handleTransitionKey
(msg tea.KeyMsg)
internal/tui/update.go:105
↓ 1 callers
Method
initDraft
()
internal/tui/customize.go:62
↓ 1 callers
Function
isBinaryInCellar
isBinaryInCellar checks if the helm binary is located in Homebrew's Cellar directory.
cmd/update.go:120
↓ 1 callers
Function
isListedInBrew
isListedInBrew checks if helm appears in brew's installed package list.
cmd/update.go:135
↓ 1 callers
Function
newPausedProgressBar
()
internal/tui/styles.go:112
↓ 1 callers
Function
playMacTone
(name string)
internal/sound/sound.go:37
↓ 1 callers
Function
readLegacyConfig
readLegacyConfig reads settings from helm's pre-XDG location (~/.helm), used before the config store moved to dirs.ConfigDir(). Kept as a one-time fal
internal/config/storage.go:28
↓ 1 callers
Function
runBrewUpdate
runBrewUpdate attempts to update helm via Homebrew.
cmd/update.go:68
↓ 1 callers
Function
runScriptUpdate
runScriptUpdate updates helm via the install script.
cmd/update.go:95
↓ 1 callers
Function
runUpdate
runUpdate executes the appropriate update method based on installation detection. It first checks whether the running binary is already on the latest
cmd/update.go:16
↓ 1 callers
Method
saveWorkflow
()
internal/tui/customize.go:257
↓ 1 callers
Method
startWorkflow
(idx int)
internal/tui/update.go:190
↓ 1 callers
Function
terminalBell
()
internal/sound/sound.go:32
↓ 1 callers
Method
updateCustomize
(msg tea.KeyMsg)
internal/tui/customize.go:32
↓ 1 callers
Method
updateEdit
(msg tea.KeyMsg)
internal/tui/customize.go:121
↓ 1 callers
Method
updateEditInput
(msg tea.KeyMsg)
internal/tui/customize.go:200
↓ 1 callers
Method
viewComplete
()
internal/tui/view.go:136
↓ 1 callers
Method
viewCustomize
()
internal/tui/customize.go:283
↓ 1 callers
Method
viewEdit
()
internal/tui/customize.go:327
↓ 1 callers
Method
viewSelect
()
internal/tui/view.go:34
↓ 1 callers
Method
viewTimer
()
internal/tui/view.go:70
Function
FromWorkflow
(w *workflow.Workflow)
internal/config/config.go:161
Method
Init
()
internal/tui/model.go:68
Method
Normalize
()
internal/config/config.go:192
Function
TestCurrentStepName
(t *testing.T)
internal/timer/session_test.go:40
Function
TestDecideUpdate
(t *testing.T)
cmd/update_test.go:8
Function
TestIsComplete
(t *testing.T)
internal/timer/timer_test.go:183
Function
TestIsOlder
(t *testing.T)
internal/version/version_test.go:7
Function
TestIsRunning
(t *testing.T)
internal/timer/timer_test.go:161
Function
TestNew
(t *testing.T)
internal/timer/timer_test.go:8
Function
TestNewQuickModel
(t *testing.T)
internal/tui/model_test.go:11
Function
TestNewSession
(t *testing.T)
internal/timer/session_test.go:22
Function
TestNewSessionWithEmptyWorkflow
(t *testing.T)
internal/timer/session_test.go:151
Function
TestNextStep
(t *testing.T)
internal/timer/session_test.go:59
Function
TestNextStepComplete
(t *testing.T)
internal/timer/session_test.go:94
Function
TestNextStepLoop
(t *testing.T)
internal/timer/session_test.go:76
Function
TestNextStepOnCompletedSession
(t *testing.T)
internal/timer/session_test.go:132
Function
TestPause
(t *testing.T)
internal/timer/timer_test.go:44
Function
TestQuick
(t *testing.T)
internal/workflow/presets_test.go:8
Function
TestReset
(t *testing.T)
internal/timer/timer_test.go:90
next →
1–100 of 110, ranked by callers