mirror of https://github.com/dapr/docs.git
Add output format option. (#1512)
Co-authored-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com> Co-authored-by: Phil Kedy <phil.kedy@gmail.com>
This commit is contained in:
parent
55d9123cfe
commit
702e38863f
|
@ -25,6 +25,7 @@ dapr list [flags]
|
||||||
| --- | --- | --- | --- |
|
| --- | --- | --- | --- |
|
||||||
| `--help`, `-h` | | | Print this help message |
|
| `--help`, `-h` | | | Print this help message |
|
||||||
| `--kubernetes`, `-k` | | `false` | List all Dapr pods in a Kubernetes cluster |
|
| `--kubernetes`, `-k` | | `false` | List all Dapr pods in a Kubernetes cluster |
|
||||||
|
| `--output`, `-o` | | `table` | The output format of the list. Valid values are: `json`, `yaml`, or `table`
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
|
@ -37,3 +38,8 @@ dapr list
|
||||||
```bash
|
```bash
|
||||||
dapr list -k
|
dapr list -k
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### List Dapr instances in JSON format
|
||||||
|
```bash
|
||||||
|
dapr list -o json
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue