fix(cli): route update exclusively through UpdateManager
Some checks failed
CI / test-unit (push) Has been cancelled
CI / test-integration (push) Has been cancelled
CI / test-env-virtual (push) Has been cancelled
CI / test-env-nix (push) Has been cancelled
CI / test-e2e (push) Has been cancelled
CI / test-virgin-user (push) Has been cancelled
CI / test-virgin-root (push) Has been cancelled
CI / codesniffer-shellcheck (push) Has been cancelled
CI / codesniffer-ruff (push) Has been cancelled
Some checks failed
CI / test-unit (push) Has been cancelled
CI / test-integration (push) Has been cancelled
CI / test-env-virtual (push) Has been cancelled
CI / test-env-nix (push) Has been cancelled
CI / test-e2e (push) Has been cancelled
CI / test-virgin-user (push) Has been cancelled
CI / test-virgin-root (push) Has been cancelled
CI / codesniffer-shellcheck (push) Has been cancelled
CI / codesniffer-ruff (push) Has been cancelled
* Remove `update` from repos command dispatch * Prevent update from being handled by `handle_repos_command` * Ensure top-level `update` always uses UpdateManager * Fix "Unknown repos command: update" error after refactor https://chatgpt.com/share/693e7ee9-2658-800f-985f-293ed0c8efbc
This commit is contained in:
@@ -129,7 +129,6 @@ def dispatch_command(args, ctx: CLIContext) -> None:
|
|||||||
# ------------------------------------------------------------------ #
|
# ------------------------------------------------------------------ #
|
||||||
if args.command in (
|
if args.command in (
|
||||||
"install",
|
"install",
|
||||||
"update",
|
|
||||||
"deinstall",
|
"deinstall",
|
||||||
"delete",
|
"delete",
|
||||||
"status",
|
"status",
|
||||||
|
|||||||
Reference in New Issue
Block a user