Since the qt CLI needs to implement various features to support a given benchmark in the registry, we need to match a CLI's version with a version range for a given benchmark in the registry.
Then, the CLI should select the version of a requested benchmark as follows:
- If no version is explicitly passed, select the latest version compatible with its version
- If a version is explicitly passed, use it if it's compatible with the CLI version. Otherwise, return an error
Since the
qtCLI needs to implement various features to support a given benchmark in the registry, we need to match a CLI's version with a version range for a given benchmark in the registry.Then, the CLI should select the version of a requested benchmark as follows: