feat
patch
task/117-phase5-domain-crud-cli
#1 / 1
feat: muse domains update / muse domains delete (CRUD CLI parity)
musehub#117 Phase 5 (DOM_18): CLI equivalents of the server's new PATCH/DELETE /api/domains routes, alongside the existing publish (Create).
- muse domains update --author X --slug Y [--name] [--description] [--viewer-type] [--version] [--capabilities] [--dry-run] [--json] Partial update — only passed fields change. --dry-run validates --viewer-type/--capabilities locally, same as publish's DOM_15. - muse domains delete --author X --slug Y [--json] Deprecates the domain (soft flag flip on the server, not a hard delete).
New _patch_json/_delete_request HTTP helpers mirroring _post_json. 16 new CLI tests (success, --json, 403/404/422, --dry-run, no-token, network error). Bump version to 0.2.0rc16.
sha256:38005a5db979d6bd95c2edeca23a0daa179826f303035ac99e3ddc9241671e0e
sha
+25
~6
symbols
3 changed · 1120 in snapshot
files
sha256:604f4ec565ced6a6d4a39b56c1747dff83692237274afc767e1f91cb1c1bea91
snapshot
+25
symbols added
~6
symbols modified
3
files changed
1120
files in snapshot
0
dead code introduced
Semantic Changes
31 symbols
+
test_delete_http_404_not_found_or_already_deprecated
function
function test_delete_http_404_not_found_or_already_deprecated L734–747
+
test_delete_missing_required_author
function
function test_delete_missing_required_author L760–764
+
test_update_dry_run_invalid_viewer_type
function
function test_update_dry_run_invalid_viewer_type L664–681
Files Changed
~3
1120 in snapshot
~3
1120 in snapshot
← Older
Oldest on task/117-phase5-domain-crud-cli
All commits
Newer →
Latest on task/117-phase5-domain-crud-cli
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:38005a5db979d6bd95c2edeca23a0daa179826f303035ac99e3ddc9241671e0e --body "your comment"
No comments yet. Be the first to start the discussion.