Comparing version 0.1.1 to 0.2.0
{ | ||
"name": "cvm", | ||
"version": "0.1.1", | ||
"version": "0.2.0", | ||
"description": "Cortex Version Manager.", | ||
"main": "index.js", | ||
"bin": { | ||
"cvm": "bin/cvm" | ||
}, | ||
"repository": { | ||
@@ -7,0 +9,0 @@ "type": "git", |
@@ -1,5 +0,9 @@ | ||
# cvm | ||
# cvm [![NPM version](https://badge.fury.io/js/cvm.svg)](http://badge.fury.io/js/cvm) | ||
Cortex Version Manager | ||
Cortex Version Manager: | ||
- Allow processes with different versions of cortex, which is useful for CI | ||
- Install and uninstall specified version of cortex | ||
- Switch to an installed version in miniseconds | ||
## Install | ||
@@ -11,2 +15,12 @@ | ||
### Support multiple processes | ||
To use different versions for cortex for multiple processes, you need to source it from your shell: | ||
```bash | ||
source /path/to/cvm/cvm-use.sh | ||
``` | ||
I always add this line to my `~/.bashrc`, `~/.profile`, or `~/.zshrc` file to have it automatically sourced upon login. | ||
or | ||
@@ -18,8 +32,35 @@ | ||
### Installing A Specific Version of Cortex | ||
### Installing and Activate A Specific Version of Cortex | ||
``` | ||
$ cvm <version> | ||
$ cvm 5.5.0 | ||
``` | ||
### Usage | ||
``` | ||
$ cvm --help | ||
cvm, cvm -h Show help message | ||
cvm ls, cvm list Output versions installed in interactive interface | ||
cvm <version> Install and activate <version> | ||
cvm install <version> Only install <version> | ||
cvm rm <version ...> Remove the given version(s) | ||
cvm list, cvm ls Output the versions of cortex available | ||
``` | ||
## For Developers | ||
Turn on `cvm` debug: | ||
```bash | ||
export CVM_DEBUG=1 | ||
``` | ||
Turn off: | ||
```bash | ||
export CVM_DEBUG=0 | ||
``` | ||
## License | ||
@@ -49,1 +90,7 @@ | ||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
## Change Log | ||
- **0.2.0**: Support multiple processes with different cortex versions | ||
- **0.1.0**: Basic commands | ||
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12978
8
94