Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:57:38 +08:00
commit 2c1ab284b7
10 changed files with 961 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
gh issue - Manage issues
USAGE
gh issue <command> [flags]
CORE COMMANDS
create: Create a new issue
list: List issues in a repository
view: Display the details of an issue
close: Close an issue
reopen: Reopen a closed issue
comment: Add a comment to an issue
edit: Edit an issue
status: Show status of relevant issues
ADDITIONAL COMMANDS
delete: Delete an issue
lock: Lock issue conversation
pin: Pin an issue
transfer: Transfer issue to another repository
unlock: Unlock issue conversation
unpin: Unpin an issue
FLAGS
-R, --repo [HOST/]OWNER/REPO Select another repository using the [HOST/]OWNER/REPO format
INHERITED FLAGS
--help Show help for command
EXAMPLES
$ gh issue create --title "Bug report" --body "Something is broken"
$ gh issue list --assignee @me --state open
$ gh issue view 123 --web
$ gh issue close 456 --comment "Fixed in PR #789"
LEARN MORE
Use 'gh <command> <subcommand> --help' for more information about a command.
Read the manual at https://cli.github.com/manual
FEEDBACK
Open an issue using 'gh issue create -R cli/cli'

View File

@@ -0,0 +1,45 @@
Creating a new issue in cli/cli
? Title: Fix color rendering in Windows Terminal
? Body: <Received>
What's the issue?
When running `gh issue list` in Windows Terminal, the ANSI color codes
are not rendering correctly. Text appears with escape sequences visible
instead of colored output.
Steps to reproduce:
1. Open Windows Terminal
2. Run `gh issue list`
3. Observe raw ANSI codes in output
Expected: Colored, formatted output
Actual: Raw escape sequences visible
? What labels should be added? (Press <space> to select, <enter> to submit)
◯ bug
◉ enhancement
◯ documentation
◯ help wanted
◉ windows
◯ good first issue
? What's the next action?
→ Create issue
Create issue and open in browser
Save as draft
Cancel
✓ Created issue #4524: Fix color rendering in Windows Terminal
https://github.com/cli/cli/issues/4524
───────────────────────────────────────────────────────────────────
Note: This example demonstrates:
- Clear question prompts with context
- Multi-line text input (indicated by <Received>)
- Multi-select checkboxes (◯ unchecked, ◉ checked)
- Radio selection menu (→ indicates current selection)
- Success confirmation with symbol and link
- Visual separator for command completion

View File

@@ -0,0 +1,25 @@
Showing 15 of 127 issues in cli/cli
#4523 Fix help text formatting for nested commands (enhancement) 20h
#4521 Add support for GitHub Enterprise Server 3.8 (feature) 1d
#4518 Bug: color output in piped commands (bug) 2d
#4510 Documentation improvements for auth commands (documentation) 4d
#4507 Performance: speed up repository clone operations (enhancement) 5d
#4498 Add interactive mode for issue creation (feature) 1w
#4492 Fix crash when using --web flag without browser (bug) 1w
#4485 Improve error messages for network failures (enhancement) 2w
#4478 Support custom templates for pull requests (feature) 2w
#4471 Update dependencies to latest versions (maintenance) 2w
#4465 Add bash completion for subcommands (enhancement) 3w
#4459 Fix regression in release list command (bug) 3w
#4451 Support for organization-level configurations (feature) 1mo
#4447 Improve accessibility of table output (accessibility) 1mo
#4440 Add support for draft pull requests in list view (enhancement) 1mo
Legend:
• Green = open
• Red = closed
• Yellow = draft
• Gray = secondary information
Note: Times shown are relative to current date