Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: Command Line Option to show versions #4569

Open
Steve-Mcl opened this issue Feb 18, 2024 · 0 comments · Fixed by #4707
Open

FR: Command Line Option to show versions #4569

Steve-Mcl opened this issue Feb 18, 2024 · 0 comments · Fixed by #4707

Comments

@Steve-Mcl
Copy link
Contributor

TLDR;

  • Add support for node-red --version that returns the version number e.g. v3.1.5
  • Add support for node-red --info that returns version numbers of node, node-red, npm and OS info

A reasonable request to show node-red version via command line was requested here: https://discourse.nodered.org/t/command-line-to-show-all-versions-running/85637

To add to that, the request also asks that additional (relevant) info be returned too e.g.

uname -r
node -v
npm -v
node-red --version

As it is quite specific / different from a normal CLI where --version would be the norm, perhaps we could support this via something like --info?

NOTE: windows batch file should use ver instead of uname -r (it returns, for example "Microsoft Windows [Version 10.0.nnnnn.nnnn]")

NOTE: Trying to keep this simple as possible but useful for support folk who need to know specific info when triaging issues.

@knolleary knolleary linked a pull request May 17, 2024 that will close this issue
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 a pull request may close this issue.

1 participant