The Symfony built-in commands for the console provides an
--version (-V) option to "Display this application version". It, however, is not just the version information, but it is prefixed with the string
Matomo version, which makes it harder to parse and compare, e.g. with what
I'd like to have a
core:version command that outputs the bare version information without any additional strings. This comes in handy when automating things using the console for headless updates.