|
|
5725ac79bb
|
feat(pr): add show subcommand and refine merge output messages
- Add 'pr show' subcommand: GET /repos/{owner}/{repo}/pulls/{index}
- Change 200 success: 'merge success'
- Change 405 error: 'merge failed check the pr status'
|
2026-04-01 17:08:49 +00:00 |
|
|
|
a7700a5f15
|
fix(pr): for 405 errors, output API message directly
|
2026-04-01 17:08:49 +00:00 |
|
|
|
d764f30589
|
fix(pr): proper HTTP status code handling for merge command
Handle different HTTP status codes returned by merge API:
- 200: success (check merged field)
- 409: conflict (output error message)
- 404: not found
- 423: repo archived
- 405: empty response / try again later
- etc: generic error handling
|
2026-04-01 17:08:49 +00:00 |
|
|
|
77fa2f77bc
|
fix(pr): use /pulls instead of /pulls/pinned for list command
|
2026-04-01 17:08:49 +00:00 |
|
|
|
dc5ce61bf7
|
feat: add create-pr command (#3)
|
2026-04-01 15:52:42 +00:00 |
|