go/pkg/cli
Snider 2a90ae65b7 refactor(cli): register commands through Core framework lifecycle
Replace the RegisterCommands/attachRegisteredCommands side-channel with
WithCommands(), which wraps command registration functions as framework
services. Commands now participate in the Core lifecycle via OnStartup,
receiving the root cobra.Command through Core.App.

Main() accepts variadic framework.Option so binaries pass their commands
explicitly — no init(), no blank imports, no global state.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-21 22:06:40 +00:00
..
ansi.go feat(cli): add NO_COLOR environment variable support (#98) 2026-02-01 16:40:03 +00:00
ansi_test.go feat(cli): add NO_COLOR environment variable support (#98) 2026-02-01 16:40:03 +00:00
app.go refactor(cli): register commands through Core framework lifecycle 2026-02-21 22:06:40 +00:00
app_test.go fix: restore packages accidentally deleted during PR #313 rebase (#333) 2026-02-05 11:16:23 +00:00
check.go feat: git command, build improvements, and go fmt git-aware (#74) 2026-02-01 10:48:44 +00:00
check_test.go fix(docs): respect workspace.yaml packages_dir setting (fixes #46) (#55) 2026-02-01 01:59:27 +00:00
command.go feat(plugin): add Claude Code plugin for host-uk framework 2026-01-31 10:27:04 +00:00
commands.go refactor(cli): register commands through Core framework lifecycle 2026-02-21 22:06:40 +00:00
daemon.go fix: resolve IO migration test failures in node, cache, and cli 2026-02-20 10:58:57 +00:00
daemon_test.go refactor: update package imports from cli to go 2026-02-16 13:53:54 +00:00
errors.go refactor: update package imports from cli to go 2026-02-16 13:53:54 +00:00
glyph.go feat(cli): add NO_COLOR environment variable support (#98) 2026-02-01 16:40:03 +00:00
glyph_maps.go feat(cli): add glyph system 2026-01-31 23:54:01 +00:00
glyph_test.go refactor: migrate all pkg/* to cli abstraction 2026-01-31 23:54:01 +00:00
i18n.go refactor: update package imports from cli to go 2026-02-16 13:53:54 +00:00
layout.go feat: git command, build improvements, and go fmt git-aware (#74) 2026-02-01 10:48:44 +00:00
layout_test.go feat: git command, build improvements, and go fmt git-aware (#74) 2026-02-01 10:48:44 +00:00
list.go feat(cli): add InteractiveList with keyboard navigation and terminal fallback 2026-02-21 18:12:37 +00:00
list_test.go feat(cli): add InteractiveList with keyboard navigation and terminal fallback 2026-02-21 18:12:37 +00:00
log.go refactor: update package imports from cli to go 2026-02-16 13:53:54 +00:00
output.go refactor: update package imports from cli to go 2026-02-16 13:53:54 +00:00
output_test.go feat: BugSETI app, WebSocket hub, browser automation, and MCP tools (#336) 2026-02-05 17:22:05 +00:00
progressbar.go feat(cli): add ProgressBar with Increment, Set, SetMessage, Done 2026-02-21 18:10:01 +00:00
progressbar_test.go feat(cli): add ProgressBar with Increment, Set, SetMessage, Done 2026-02-21 18:10:01 +00:00
prompt.go feat: git command, build improvements, and go fmt git-aware (#74) 2026-02-01 10:48:44 +00:00
render.go feat: git command, build improvements, and go fmt git-aware (#74) 2026-02-01 10:48:44 +00:00
runtime.go refactor(cli): register commands through Core framework lifecycle 2026-02-21 22:06:40 +00:00
spinner.go feat(cli): add Spinner with async handle (Update, Done, Fail) 2026-02-21 18:09:40 +00:00
spinner_test.go feat(cli): add Spinner with async handle (Update, Done, Fail) 2026-02-21 18:09:40 +00:00
strings.go feat: git command, build improvements, and go fmt git-aware (#74) 2026-02-01 10:48:44 +00:00
stubs.go feat(cli): stub Form, FilePicker, Tabs with simple fallbacks 2026-02-21 18:10:33 +00:00
stubs_test.go feat(cli): stub Form, FilePicker, Tabs with simple fallbacks 2026-02-21 18:10:33 +00:00
styles.go Add logging for security events (authentication, access) (#320) 2026-02-05 10:26:48 +00:00
textinput.go feat(cli): add TextInput with placeholder, masking, validation 2026-02-21 18:13:07 +00:00
textinput_test.go feat(cli): add TextInput with placeholder, masking, validation 2026-02-21 18:13:07 +00:00
tui.go feat(cli): add RunTUI escape hatch with Model/Msg/Cmd/KeyMsg types 2026-02-21 18:08:35 +00:00
tui_test.go feat(cli): add RunTUI escape hatch with Model/Msg/Cmd/KeyMsg types 2026-02-21 18:08:35 +00:00
utils.go refactor: update package imports from cli to go 2026-02-16 13:53:54 +00:00
viewport.go feat(cli): add Viewport for scrollable content (logs, diffs, docs) 2026-02-21 18:13:37 +00:00
viewport_test.go feat(cli): add Viewport for scrollable content (logs, diffs, docs) 2026-02-21 18:13:37 +00:00