Returns the version of the local dependency of the CLI if it's installed in the provided directory.
Path of the project to look for the dependency.
The CLI version or undefined if the dependency is not installed.
Returns the version of the local dependency of the CLI if it's installed in the provided directory.