Skip to content

Fix CLI version flag and update prompt handling - #99

Merged
BigGig17 merged 2 commits into
mainfrom
js/fix_version_command
Jul 16, 2026
Merged

Fix CLI version flag and update prompt handling#99
BigGig17 merged 2 commits into
mainfrom
js/fix_version_command

Conversation

@BigGig17

@BigGig17 BigGig17 commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Context

This fixes the CLI version flag so help advertises -v, --version and dx -v prints the current package version without running the update check. It also keeps version-update prompts out of metadata-only invocations like --help and routes the interactive update selector to stderr so the choices remain visible when stdout is captured.

QA

  • Verify dx -v prints only the current version and does not show an update prompt.
  • Check dx --help lists -v, --version and does not list -V, --version.
  • Exercise a normal command with a newer CLI version available and confirm the update choices render visibly.

Links

slack message

@BigGig17
BigGig17 merged commit e717eee into main Jul 16, 2026
4 checks passed
@BigGig17
BigGig17 deleted the js/fix_version_command branch July 16, 2026 19:51
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.

2 participants