Running flask --version should output Flask, Python and Werkzeug versions, as those are the versions asked in the issue template on github.
flask --version only outputs Flask and Python versions (and GCC, for some reason?).
I do not think it's a good idea to show users the werkzeug version.
Most of the regular users of Flask don't know nothing about any werkzeug package.
Why do not you also display the version of Jinja2 ?
Like I said in the issue, people need to provide the werkzeug version when they want to file an issue on github. I think adding that version in the flask --version command people can more easily obtain all versions they need to provide, which makes filing a (useful) issue easier.
Perhaps it would be best to specify something like --version --verbose to print out the versions of _all_ "secondary" dependencies (in that they're required directly by Flask)?
I agree with @RyanSquared. The main dependencies are Werkzeug, Jinja2, MarkupSafe, ItsDangerous and Click. Command flask --verbose should print their versions respectively. Has anyone worked on this yet?
I'm not sure where the discussion is, but I deliberately did not include all the dependencies when the option was added. Some of them are inconsequential, any project will have multiple other dependencies that contribute to issues which must be pared down first to create an MCVE, and there's already a handy command to get all versions: pip list.
Adding Werkzeug is fine since I ask for that in the issue template, and there's already a PR open for that.
Most helpful comment
Like I said in the issue, people need to provide the werkzeug version when they want to file an issue on github. I think adding that version in the
flask --versioncommand people can more easily obtain all versions they need to provide, which makes filing a (useful) issue easier.