Skip to content

cli: add option to suppress new version warning - #1317

Draft
Benjamin Christopher Simmonds (benibenj) wants to merge 2 commits into
mainfrom
benibenj/agents/easy-bug-feature-github-vsce
Draft

Benjamin Christopher Simmonds (benibenj) wants to merge 2 commits into
mainfrom
benibenj/agents/easy-bug-feature-github-vsce

Conversation

@benibenj

@benibenj Benjamin Christopher Simmonds (benibenj) commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • add a global --no-new-version-warning option
  • skip the npm version check when the option is used
  • preserve the existing warning behavior by default for every command

Fixes #1201

Validation

  • npm run compile
  • npm test (249 passing, 3 pending)
  • verified the option appears in help and is accepted before or after a subcommand

Add a global --no-new-version-warning flag so CI and other callers can opt out while preserving the existing warning by default. Fixes #1201.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Comment thread src/main.ts Outdated
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

Please add --no-new-version-warning option

1 participant