Skip to content

feat(current): add --yes flag to skip install prompts#139

Merged
CalvinAllen merged 1 commit intomainfrom
feat/current/yes-flag
Dec 14, 2025
Merged

feat(current): add --yes flag to skip install prompts#139
CalvinAllen merged 1 commit intomainfrom
feat/current/yes-flag

Conversation

@CalvinAllen
Copy link
Contributor

Summary

  • Add --yes/-y flag to automatically install missing versions without prompting
  • Add --no-install/-n flag to skip install prompts entirely
  • Update integration tests to use --no-install to prevent CI hangs

Problem

The current command prompts to install missing versions interactively, which causes issues in CI environments where stdin is not available - either hanging or auto-accepting due to empty stdin.

Solution

Added two flags to control install behavior:

  • --yes / -y: Auto-accept install prompts
  • --no-install / -n: Skip prompts entirely (recommended for CI)

Test plan

  • All existing tests pass (230+)
  • Linting passes (0 issues)
  • Updated integration tests to use --no-install

Fixes #136

Add --yes/-y and --no-install/-n flags to the current command:
- --yes: automatically install missing versions without prompting
- --no-install: skip install prompts entirely (for CI environments)

Update integration tests to use --no-install flag to prevent
hanging on stdin in CI environments.

Fixes #136
@CalvinAllen CalvinAllen force-pushed the feat/current/yes-flag branch from 7067981 to ed95225 Compare December 14, 2025 00:19
@CalvinAllen CalvinAllen merged commit 1f2371c into main Dec 14, 2025
12 checks passed
@CalvinAllen CalvinAllen deleted the feat/current/yes-flag branch December 14, 2025 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

feat(current): add --yes flag to skip install prompts

1 participant