Skip to content

Commit d2025f5

Browse files
authored
Support multiple devops-toolkit in CLI (#216)
1 parent 435ec29 commit d2025f5

File tree

2 files changed

+168
-128
lines changed

2 files changed

+168
-128
lines changed

README.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,27 +70,33 @@ Navigate to your workspace folder, then:
7070
- Initialize the docker image, container and configuration directory:
7171

7272
```bash
73-
devops-toolkit-cli init
74-
# Run 'devops-toolkit-cli init vX.Y.Z' if you want to use specific version.
75-
# E.g: devops-toolkit-cli init 1.0.2
73+
devops-toolkit-cli init my_toolkit_01
74+
# Run 'devops-toolkit-cli init my_toolkit_01 vX.Y.Z' if you want to use specific version.
75+
# E.g: devops-toolkit-cli init my_toolkit_01 1.0.2
7676
```
7777

7878
- Start a shell in new container:
7979

8080
```bash
81-
devops-toolkit-cli run
81+
devops-toolkit-cli run my_toolkit_01
8282
```
8383

8484
- Execute a command in the container:
8585

8686
```bash
87-
devops-toolkit-cli run ls -la
87+
devops-toolkit-cli run my_toolkit_01 ls -la
8888
```
8989

9090
- Access the shell:
9191

9292
```bash
93-
devops-toolkit-cli shell
93+
devops-toolkit-cli shell my_toolkit_01
94+
```
95+
96+
- Remove container if it's not used anymore
97+
98+
```bash
99+
devops-toolkit-cli cleanup my_toolkit_01
94100
```
95101

96102
### 3. Get Help

0 commit comments

Comments
 (0)