Skip to content

feat: add pr edit command#52

Merged
hex2dec merged 1 commit intomainfrom
issue-50-pr-edit-command
Mar 24, 2026
Merged

feat: add pr edit command#52
hex2dec merged 1 commit intomainfrom
issue-50-pr-edit-command

Conversation

@hex2dec
Copy link
Copy Markdown
Owner

@hex2dec hex2dec commented Mar 24, 2026

Summary

  • add gitee pr edit for title, body, state, and draft readiness updates
  • reuse existing auth, repo inference, canonical repo fallback, and pr view output contracts
  • add integration coverage for success paths, validation errors, not found cases, and help discovery

Validation

  • cargo fmt
  • cargo test
  • cargo clippy --all-targets --all-features -- -D warnings

Sample usage

gitee pr edit 42 --repo octo/demo --title "Updated title" --json
printf 'Generated from stdin\n' | gitee pr edit 44 --body-file - --ready

Closes #50

@hex2dec hex2dec merged commit 51c38a2 into main Mar 24, 2026
@hex2dec hex2dec deleted the issue-50-pr-edit-command branch March 24, 2026 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add gitee pr edit for end-to-end pull request updates

1 participant