@@ -13,10 +13,9 @@ It allows to launch tests or import API artifacts with minimal dependencies.
13
13
14
14
## Build Status
15
15
16
- Latest release is ` 0.5.8 ` .
16
+ Latest release is ` 1.0.0 ` .
17
17
18
- Current development version is ` 0.5.9 ` .
19
- It is available as a container image named ` quay.io/microcks/microcks-cli:nightly ` .
18
+ Current development version is ` 1.0.1 ` . It is available as a container image named ` quay.io/microcks/microcks-cli:nightly ` .
20
19
21
20
#### Fossa license and security scans
22
21
@@ -44,11 +43,13 @@ To get involved with our community, please make sure you are familiar with the p
44
43
## Usage instructions
45
44
46
45
### Usage
46
+
47
47
``` bash
48
48
microcks [command] [flags]
49
49
```
50
50
51
51
### Available Commands
52
+
52
53
| Command | Description | Documentation |
53
54
| ------------ | -------------------------------------------------------- | ----------------------------------------------- |
54
55
| ` login ` | Log in to a Microcks instance using Keycloak credentials | [ ` login ` ] ( documentation/cmd/login.md ) |
@@ -80,16 +81,19 @@ microcks [command] [flags]
80
81
81
82
### Building from Source
82
83
To build the CLI locally:
84
+
83
85
``` bash
84
86
make build-local
85
87
```
86
88
87
89
The resulting binary will be available at:
90
+
88
91
``` bash
89
92
/build/dist/microcks
90
93
```
91
94
92
95
You can move it to a location in your $PATH for global usage, for example:
96
+
93
97
``` bash
94
98
sudo mv build/dist/microcks /usr/local/bin/microcks
95
99
```
@@ -106,7 +110,7 @@ The `microcks-cli` is available as a container image. So that you'd be able to e
106
110
Below a sample on how using the image without getting the CLI binary:
107
111
108
112
```
109
- $ docker run -it quay.io/microcks/microcks-cli:latest microcks-cli test 'Beer Catalog API:0.9' http://beer-catalog-impl-beer-catalog-dev.apps.144.76.24.92.nip.io/api/ POSTMAN --microcksURL=http://microcks.apps.144.76.24.92.nip.io/api/ --keycloakClientId=microcks-serviceaccount --keycloakClientSecret=7deb71e8-8c80-4376-95ad-00a399ee3ca1 --waitFor=8sec --operationsHeaders='{"globals": [{"name": "x-api-key", "values": "my-values"}], "GET /beer": [{"name": "x-trace-id", "values": "xcvbnsdfghjklm"}]}'
113
+ $ docker run -it quay.io/microcks/microcks-cli:latest microcks test 'Beer Catalog API:0.9' http://beer-catalog-impl-beer-catalog-dev.apps.144.76.24.92.nip.io/api/ POSTMAN --microcksURL=http://microcks.apps.144.76.24.92.nip.io/api/ --keycloakClientId=microcks-serviceaccount --keycloakClientSecret=7deb71e8-8c80-4376-95ad-00a399ee3ca1 --waitFor=8sec --operationsHeaders='{"globals": [{"name": "x-api-key", "values": "my-values"}], "GET /beer": [{"name": "x-trace-id", "values": "xcvbnsdfghjklm"}]}'
110
114
```
111
115
112
116
0 commit comments