gabriel / muse public
refactor BREAKING hub fix/naming-uniformity #1 / 1
gabriel · 171 days ago · Apr 10, 2026 · Diff

refactor(hub): rename CLI subcommands to canonical verbs

- issue edit → issue update (run_issue_edit → run_issue_update) - repo settings → repo update (run_repo_settings → run_repo_update) - repo transfer → repo transfer-ownership (run_repo_transfer → run_repo_transfer_ownership) - collaborator update → collaborator update-permission (run_collaborator_update → run_collaborator_update_permission)

TDD: 8 new tests added (4 verify new names work, 4 verify old names rejected) All 57 hub tests pass.

sha256:cea405f89fa2b568938a263af00633f7ef0b69b72618fffd52523e4b37759fca sha
+17 ~4 −1 symbols
sha256:c31ed82e212e8a4f5c2dba081b35dcdf9cdc973dadf02931d4ac00dda7889185 snapshot
+17
symbols added
~4
symbols modified
−1
symbol removed
0
dead code introduced
Semantic Changes 22 symbols
~ muse/cli/commands/hub.py .py 1 symbol added, 1 symbol removed, 4 symbols modified
− run_issue_edit function function run_issue_edit L2939–3009
+ run_issue_update function function run_issue_update L2939–3009
~ tests/test_cli_hub.py .py 16 symbols added
+ TestHubCollaboratorUpdatePermissionCommand class class TestHubCollaboratorUpdatePermissionCommand L576–608
+ _setup_auth method method _setup_auth L579–588
+ test_collaborator_update_permission_subcommand_exists method method test_collaborator_update_permission_subcommand_exists L590–600
+ test_collaborator_update_subcommand_removed method method test_collaborator_update_subcommand_ L602–608
+ TestHubIssueUpdateCommand class class TestHubIssueUpdateCommand L468–496
+ _setup_auth method method _setup_auth L471–480
+ test_issue_edit_subcommand_removed method method test_issue_edit_subcommand_ L492–496
+ test_issue_update_subcommand_exists method method test_issue_update_subcommand_exists L482–490
+ TestHubRepoTransferOwnershipCommand class class TestHubRepoTransferOwnershipCommand L540–568
+ _setup_auth method method _setup_auth L543–552
+ test_repo_transfer_ownership_subcommand_exists method method test_repo_transfer_ownership_subcommand_exists L554–562
+ test_repo_transfer_subcommand_removed method method test_repo_transfer_subcommand_ L564–568
+ TestHubRepoUpdateCommand class class TestHubRepoUpdateCommand L504–532
+ _setup_auth method method _setup_auth L507–516
+ test_repo_settings_subcommand_removed method method test_repo_settings_subcommand_ L528–532
+ test_repo_update_subcommand_exists method method test_repo_update_subcommand_exists L518–526
← Older Oldest on fix/naming-uniformity
All commits
Newer → Latest on fix/naming-uniformity

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:cea405f89fa2b568938a263af00633f7ef0b69b72618fffd52523e4b37759fca --body "your comment"