ExecutableRequirement support for version
ExecutableRequirement can support a version
argument by also having an argument to supply the CLI argument which can be used to request the version, and a regex to parse the version from the output.
This will mean we can almost always add a version to the bear metadata, for any linter which has a CLI, but more importantly also add minimum versions for the runtimes like node
, go
, etc, as people often install these using managers other than the OS supplied package managers.