redocly-cli
redocly-cli copied to clipboard
Suppress update now logging
Is your feature request related to a problem? Please describe.
I want to be able to hide this update now message on every run:
╔═══════════════════════════════════════════════════════╗
║ ║
║ A new version of Redocly CLI (1.18.0) is available. ║
║ Update now: `npm i -g @redocly/cli@latest`. ║
║ Changelog: https://redocly.com/docs/cli/changelog/ ║
║ ║
╚═══════════════════════════════════════════════════════╝
Describe the solution you'd like
cli option like --no-update-check, or config option for that will do.
Describe alternatives you've considered
I looked through documentation and issues, but didn't find any solution.
Thanks for the suggestion. As an immediate workaround, this message is suppressed if you run the CLI from a continuous integration environment, so you can set an environment variable CI to true to avoid seeing this message.