parent
259a23fe9f
commit
6cbb21a214
10
README.md
10
README.md
|
@ -54,6 +54,11 @@ $ git pull
|
||||||
|
|
||||||
Install a specific version of driftctl.
|
Install a specific version of driftctl.
|
||||||
|
|
||||||
|
Available options:
|
||||||
|
|
||||||
|
- `x.y.z` to install the exact version of driftctl
|
||||||
|
- `latest` to install the latest version of driftctl
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ dctlenv install 0.2.3
|
$ dctlenv install 0.2.3
|
||||||
Installing driftctl v0.2.3
|
Installing driftctl v0.2.3
|
||||||
|
@ -95,6 +100,11 @@ Installation of driftctl v0.4.0 successful. To make this your default version, r
|
||||||
|
|
||||||
Switch a version to use.
|
Switch a version to use.
|
||||||
|
|
||||||
|
Available options:
|
||||||
|
|
||||||
|
- `x.y.z` to install and use the exact version of driftctl
|
||||||
|
- `latest` to install and use the latest version of driftctl
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ dctlenv use 0.2.3
|
$ dctlenv use 0.2.3
|
||||||
Switching version to v0.2.3
|
Switching version to v0.2.3
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -uo pipefail
|
set -uo pipefail
|
||||||
|
|
||||||
version="0.1.1"
|
version="0.1.2"
|
||||||
git_revision=""
|
git_revision=""
|
||||||
|
|
||||||
if cd "${BASH_SOURCE%/*}" 2>/dev/null && git remote -v 2>/dev/null | grep -q dctlenv; then
|
if cd "${BASH_SOURCE%/*}" 2>/dev/null && git remote -v 2>/dev/null | grep -q dctlenv; then
|
||||||
|
|
Loading…
Reference in New Issue