Skip to content

Improve rgit install guidance mode picker#17

Merged
Lum1104 merged 8 commits into
mainfrom
issue-16-improve-guidance-mode-picker
Jul 4, 2026
Merged

Improve rgit install guidance mode picker#17
Lum1104 merged 8 commits into
mainfrom
issue-16-improve-guidance-mode-picker

Conversation

@sunjiajunsunjiajun

Copy link
Copy Markdown
Collaborator

Summary

  • Add an interactive guidance mode picker for rgit install <platform>.
  • Keep the existing numbered prompt as a silent fallback.
  • Preserve script-friendly behavior for --guidance and non-TTY installs.

Details

  • Supports up/down navigation, Enter selection, and 1/2/3 shortcuts.
  • Keeps prompt UI on stderr so install JSON remains on stdout.
  • Handles Ctrl+C as a clean cancellation with exit code 130.
  • Gates the selector on Windows ANSI support and falls back when unsupported.

Validation

  • python -m pytest -q
  • Result: 310 passed, 2 skipped

Closes #16

@sunjiajunsunjiajun

sunjiajunsunjiajun commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator Author

Mac:
mac_CLI

Windows:
windows_CLI

@sunjiajunsunjiajun

sunjiajunsunjiajun commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator Author

@Lum1104 FYI: this PR is mainly an install UX improvement for the rgit install guidance mode picker. We may want to include it in a future package release, but there is no urgency to cut a new package immediately just for this.

@Lum1104 Lum1104 merged commit 09a7d1e into main Jul 4, 2026
6 checks passed
@Lum1104 Lum1104 deleted the issue-16-improve-guidance-mode-picker branch July 4, 2026 01:34
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.

Improve rgit install guidance mode picker with arrow-key selection

2 participants