Skip to content

feat(bug): add gh CLI integration for direct issue submission - #59

Merged
lonewolfyx merged 1 commit into
mainfrom
fix/bug-repo-submit
Aug 27, 2026
Merged

lonewolfyx merged 1 commit into
mainfrom
fix/bug-repo-submit

Conversation

@lonewolfyx

Copy link
Copy Markdown
Member
  • Import process and tinyexec for CLI operations
  • Add hasGhAvailable utility to check GitHub CLI availability
  • Implement direct issue creation via gh CLI when --submit flag is used
  • Validate gh CLI installation and provide helpful error messages
  • Parse issue number from CLI output and return structured response
  • Update error handling for CLI operations
  • Maintain fallback URL generation when submit fails

- Import process and tinyexec for CLI operations
- Add hasGhAvailable utility to check GitHub CLI availability
- Implement direct issue creation via gh CLI when --submit flag is used
- Validate gh CLI installation and provide helpful error messages
- Parse issue number from CLI output and return structured response
- Update error handling for CLI operations
- Maintain fallback URL generation when submit fails
@pkg-pr-new

pkg-pr-new Bot commented Aug 27, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@antdv-next/cli@59

commit: 792ff2b

@github-actions

Copy link
Copy Markdown
Contributor

Build Size Report

Baseline Artifact · 基准产物

File Size Gzip Brotli
index.mjs 385.97 KiB 114.76 KiB 98.59 KiB

Candidate Artifact · 候选产物

File Size Gzip Brotli
index.mjs 386.78 KiB 115.03 KiB 98.78 KiB

@lonewolfyx
lonewolfyx merged commit a962357 into main Aug 27, 2026
8 checks passed
@lonewolfyx
lonewolfyx deleted the fix/bug-repo-submit branch August 28, 2026 03:18
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.

1 participant