When creating an app or workspace, dynamically include the CLI as a devDependency of the app and workspace's package.json.
Dynamically apply the current CLI version to the template, rather than hard-coding it these areas:
The current CLI version can be obtained by the CLI's own package.json (see example of use in the status command). However, only use the major and minor version when applying to the app and workspace templates. Set the patch version to zero. This is to guard against inflated patch/build numbers like 1.6.1000132 present in the npm-folioci registry.
Given package.json has version 1.6.0, use 1.6.0 in the template
Given package.json has version 1.6.1000132, use 1.6.0 in the template