feat: add hub proposal close subcommand
POST .../proposals/{id}/close — closes an open proposal without merging. Includes run_proposal_close handler, argparse registration, and 6 new tests in TestHubProposalCloseCommand covering: subcommand recognition, POST routing, JSON output, text confirmation, missing arg rejection, and --hub flag.
sha256:dd3cab2b485603285397f54b96ad368408a8d8801248031ce1a70bf7b87ac0c2
sha
+11
~1
symbols
sha256:0505dbfe9569ed56f50bdea1d1a3261ffdf25ebf137a2d7de63c48955626f723
snapshot
+11
symbols added
~1
symbol modified
0
dead code introduced
Semantic Changes
12 symbols
~
register
+
test_close_calls_post_to_close_endpoint
method
method test_close_calls_post_to_close_endpoint L1549–1558
+
test_close_json_output_contains_proposal_id
method
method test_close_json_output_contains_proposal_id L1560–1570
+
test_close_text_output_confirms_closed
method
method test_close_text_output_confirms_closed L1572–1581
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:dd3cab2b485603285397f54b96ad368408a8d8801248031ce1a70bf7b87ac0c2 --body "your comment"
No comments yet. Be the first to start the discussion.