Merge pull request #1580 from influxdata/export-formatting

Minor formatting changes
pull/1589/head
pierwill 2020-10-01 12:19:20 -07:00 committed by GitHub
commit 6dda1c6066
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 5 deletions

View File

@ -40,16 +40,23 @@ influx export all [flags]
## Examples
### Export all resources in an organization as a template
```influx export all --org $INFLUX_ORG```
```sh
influx export all --org $INFLUX_ORG
```
### Export all bucket resources as a template
```influx export all --org $INFLUX_ORG --filter=resourceKind=Bucket```
```sh
influx export all --org $INFLUX_ORG --filter=resourceKind=Bucket
```
### Export all resources associated with label Foo
```influx export all --org $INFLUX_ORG --filter=labelName=Foo```
```sh
influx export all --org $INFLUX_ORG --filter=labelName=Foo
```
### Export all bucket resources and filter by label Foo
```influx export all --org $INFLUX_ORG \
```sh
influx export all --org $INFLUX_ORG \
--filter=resourceKind=Bucket \
--filter=labelName=Foo
```
@ -57,7 +64,7 @@ influx export all [flags]
### Export all bucket or dashboard resources and filter by label Foo.
<b>Note</b>: "like" filters are unioned and filter types are intersections.
For example, the following will export a resource if it is a dashboard or bucket and has an associated label of Foo.
For example, the following will export a resource if it is a dashboard or bucket and has an associated label of `Foo`.
```influx export all --org $INFLUX_ORG \
--filter=resourceKind=Bucket \