unarr/internal/cmd
Deivid Soto 3e0f3a5a64
Some checks failed
Release / release (push) Failing after 0s
Release / docker (push) Has been skipped
Release / virustotal (push) Failing after 0s
feat(cli): upgrade command, rich status, and version cache
- Replace `upgrade` stub with real command (alias for `self-update`)
- Also register `update` as alias: `unarr update` works too
- Rewrite `status` to show full config, disk usage, daemon state, and
  update availability with colored sections
- Add version check cache (1h TTL) so `status` is instant on repeat runs
- Guard against division by zero on empty filesystems
- Guard against negative durations from clock skew
- Guard against stale PID via heartbeat recency check (2 min)
- Add comprehensive test coverage across agent, engine, upgrade, usenet,
  arr, library, mediaserver, and UI packages
- Improve Makefile coverage target to exclude cmd/ glue code
- Fix stream handler resource cleanup and ffprobe error handling
2026-03-31 22:05:43 +02:00
..
auth_browser.go feat(init): add 60s countdown, skip key, and cancel detection to browser auth 2026-03-30 14:07:57 +02:00
auth_browser_test.go feat(auth): browser-based CLI authentication (like Claude Code) 2026-03-29 17:53:18 +02:00
clean.go fix(lint): use default:none to disable errcheck, fix all gofmt and exhaustive 2026-03-31 00:29:16 +02:00
clean_test.go fix(lint): use default:none to disable errcheck, fix all gofmt and exhaustive 2026-03-31 00:29:16 +02:00
completion.go docs: improve CLI help, shell completion, and README 2026-03-28 21:36:27 +01:00
completion_helpers.go docs: improve CLI help, shell completion, and README 2026-03-28 21:36:27 +01:00
config_menu.go fix(lint): use default:none to disable errcheck, fix all gofmt and exhaustive 2026-03-31 00:29:16 +02:00
config_menu_test.go feat(cli): upgrade command, rich status, and version cache 2026-03-31 22:05:43 +02:00
daemon.go fix(progress): always report status transitions and poll for control signals 2026-03-31 16:55:50 +02:00
daemon_install.go fix(lint): use default:none to disable errcheck, fix all gofmt and exhaustive 2026-03-31 00:29:16 +02:00
daemon_test.go feat(cli): upgrade command, rich status, and version cache 2026-03-31 22:05:43 +02:00
doctor.go chore: rename module from torrentclaw-cli to unarr 2026-03-30 13:06:07 +02:00
doctor_unix.go docs: improve CLI help, shell completion, and README 2026-03-28 21:36:27 +01:00
doctor_windows.go docs: improve CLI help, shell completion, and README 2026-03-28 21:36:27 +01:00
download.go chore: rename module from torrentclaw-cli to unarr 2026-03-30 13:06:07 +02:00
helpers.go feat: replace setup with init wizard + interactive config menu 2026-03-29 12:09:03 +02:00
helpers_test.go feat(cli): upgrade command, rich status, and version cache 2026-03-31 22:05:43 +02:00
init.go chore: rename module from torrentclaw-cli to unarr 2026-03-30 13:06:07 +02:00
inspect.go chore: rename module from torrentclaw-cli to unarr 2026-03-30 13:06:07 +02:00
migrate.go chore: rename module from torrentclaw-cli to unarr 2026-03-30 13:06:07 +02:00
popular.go chore: rename module from torrentclaw-cli to unarr 2026-03-30 13:06:07 +02:00
recent.go chore: rename module from torrentclaw-cli to unarr 2026-03-30 13:06:07 +02:00
reload_unix.go chore: rename module from torrentclaw-cli to unarr 2026-03-30 13:06:07 +02:00
reload_windows.go chore: rename module from torrentclaw-cli to unarr 2026-03-30 13:06:07 +02:00
root.go feat(cli): upgrade command, rich status, and version cache 2026-03-31 22:05:43 +02:00
scan.go chore: rename module from torrentclaw-cli to unarr 2026-03-30 13:06:07 +02:00
search.go chore: rename module from torrentclaw-cli to unarr 2026-03-30 13:06:07 +02:00
self_update.go chore: rename module from torrentclaw-cli to unarr 2026-03-30 13:06:07 +02:00
stats.go chore: rename module from torrentclaw-cli to unarr 2026-03-30 13:06:07 +02:00
status.go feat(cli): upgrade command, rich status, and version cache 2026-03-31 22:05:43 +02:00
stream.go chore: rename module from torrentclaw-cli to unarr 2026-03-30 13:06:07 +02:00
stream_handler.go feat(cli): upgrade command, rich status, and version cache 2026-03-31 22:05:43 +02:00
stubs.go chore: rename module from torrentclaw-cli to unarr 2026-03-30 13:06:07 +02:00
upgrade.go feat(cli): upgrade command, rich status, and version cache 2026-03-31 22:05:43 +02:00
version.go refactor: migrate lint config to v2, remove daemon auto-upgrade, add trust badges 2026-03-30 23:24:16 +02:00
version_cmd.go docs: improve CLI help, shell completion, and README 2026-03-28 21:36:27 +01:00
watch.go chore: rename module from torrentclaw-cli to unarr 2026-03-30 13:06:07 +02:00