feat(hub): add --body-file ergonomics to all body-accepting subcommands
Adds _resolve_body(args) helper that reads body from --body-file PATH (or '-' for stdin) and falls back to --body TEXT. This solves shell quoting / backtick interpretation issues when passing large markdown bodies (e.g. issue bodies with fenced code blocks).
Subcommands updated: issue create/update/comment, release create, proposal create/comment create/review submit.
Also relaxes --body required=True to default=None on issue comment and proposal comment create so body can come entirely from --body-file.
sha256:6fad61ef88ad242f1e1b4fcddb4b5c6cd3a6a8de6a21953740999783aa63ca15
sha
sha256:bef43bca372c6c200248e61ccc6743ac5494f30adcac5ac5ae56214412515160
snapshot
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:6fad61ef88ad242f1e1b4fcddb4b5c6cd3a6a8de6a21953740999783aa63ca15 --body "your comment"
No comments yet. Be the first to start the discussion.