diff --git a/content/v2.0/reference/cli/influx/_index.md b/content/v2.0/reference/cli/influx/_index.md index 30a8e2737..a73ed3cf4 100644 --- a/content/v2.0/reference/cli/influx/_index.md +++ b/content/v2.0/reference/cli/influx/_index.md @@ -58,10 +58,9 @@ retrieving authentication tokens._ | [user](/v2.0/reference/cli/influx/user) | User management commands | | [write](/v2.0/reference/cli/influx/write) | Write points to InfluxDB | +{{% influx-cli-global-flags %}} + ## Flags -| Flag | Description | Input type | -|:---- |:----------- |:----------:| -| `-h`, `--help` | Help for the influx command | | -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +| Flag | Description | +|:---------------|:------------------------------| +| `-h`, `--help` | Help for the `influx` command | diff --git a/content/v2.0/reference/cli/influx/auth/_index.md b/content/v2.0/reference/cli/influx/auth/_index.md index 726741ca3..61749c2db 100644 --- a/content/v2.0/reference/cli/influx/auth/_index.md +++ b/content/v2.0/reference/cli/influx/auth/_index.md @@ -34,9 +34,4 @@ influx auth [command] |:---- |:----------- | | `-h`, `--help` | Help for the `auth` command | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/auth/active.md b/content/v2.0/reference/cli/influx/auth/active.md index 8ca67ab92..0b62fca12 100644 --- a/content/v2.0/reference/cli/influx/auth/active.md +++ b/content/v2.0/reference/cli/influx/auth/active.md @@ -21,9 +21,4 @@ influx auth active [flags] | `-h`, `--help` | Help for the `active` command | | | `-i`, `--id` | The authorization ID **(Required)** | string | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/auth/create.md b/content/v2.0/reference/cli/influx/auth/create.md index dc5b2720e..48482c6ff 100644 --- a/content/v2.0/reference/cli/influx/auth/create.md +++ b/content/v2.0/reference/cli/influx/auth/create.md @@ -36,9 +36,4 @@ influx auth create [flags] | `--write-telegrafs` | Grants the permission to create telegraf configs | | | `--write-user` | Grants the permission to perform mutative actions against organization users | | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/auth/delete.md b/content/v2.0/reference/cli/influx/auth/delete.md index a0b2979b4..e4aa0c4f1 100644 --- a/content/v2.0/reference/cli/influx/auth/delete.md +++ b/content/v2.0/reference/cli/influx/auth/delete.md @@ -21,9 +21,4 @@ influx auth delete [flags] | `-h`, `--help` | Help for the `delete` command | | | `-i`, `--id` | The authorization ID **(Required)** | string | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/auth/find.md b/content/v2.0/reference/cli/influx/auth/find.md index 9f6de9246..3888443de 100644 --- a/content/v2.0/reference/cli/influx/auth/find.md +++ b/content/v2.0/reference/cli/influx/auth/find.md @@ -25,9 +25,4 @@ influx auth find [flags] | `-u`, `--user` | The user | string | | `--user-id` | The user ID | string | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/auth/inactive.md b/content/v2.0/reference/cli/influx/auth/inactive.md index 7629d26ad..8b2ea4aca 100644 --- a/content/v2.0/reference/cli/influx/auth/inactive.md +++ b/content/v2.0/reference/cli/influx/auth/inactive.md @@ -21,9 +21,4 @@ influx auth inactive [flags] | `-h`, `--help` | Help for the `inactive` command | | | `-i`, `--id` | The authorization ID **(Required)** | string | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/bucket/_index.md b/content/v2.0/reference/cli/influx/bucket/_index.md index 6acd1dfe6..a9c17048c 100644 --- a/content/v2.0/reference/cli/influx/bucket/_index.md +++ b/content/v2.0/reference/cli/influx/bucket/_index.md @@ -30,9 +30,4 @@ influx bucket [command] |:---- |:----------- | | `-h`, `--help` | Help for the `bucket` command | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/bucket/create.md b/content/v2.0/reference/cli/influx/bucket/create.md index b83d00135..c03fe55a0 100644 --- a/content/v2.0/reference/cli/influx/bucket/create.md +++ b/content/v2.0/reference/cli/influx/bucket/create.md @@ -23,9 +23,4 @@ influx bucket create [flags] | `--org-id` | The ID of the organization that owns the bucket | string | | `-r`, `--retention` | Duration in nanoseconds data will live in bucket | duration | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/bucket/delete.md b/content/v2.0/reference/cli/influx/bucket/delete.md index dc9eef4ed..5004b7f36 100644 --- a/content/v2.0/reference/cli/influx/bucket/delete.md +++ b/content/v2.0/reference/cli/influx/bucket/delete.md @@ -21,9 +21,4 @@ influx bucket delete [flags] | `-h`, `--help` | Help for the `delete` command | | | `-i`, `--id` | The bucket ID **(Required)** | string | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/bucket/find.md b/content/v2.0/reference/cli/influx/bucket/find.md index 98856d938..6b17e5d52 100644 --- a/content/v2.0/reference/cli/influx/bucket/find.md +++ b/content/v2.0/reference/cli/influx/bucket/find.md @@ -24,9 +24,4 @@ influx bucket find [flags] | `-o`, `--org` | The bucket organization name | string | | `--org-id` | The bucket organization ID | string | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/bucket/update.md b/content/v2.0/reference/cli/influx/bucket/update.md index f61d6a1c3..6edb998ba 100644 --- a/content/v2.0/reference/cli/influx/bucket/update.md +++ b/content/v2.0/reference/cli/influx/bucket/update.md @@ -23,9 +23,4 @@ influx bucket update [flags] | `-n`, `--name` | New bucket name | string | | `-r`, `--retention` | New duration data will live in bucket | duration | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/delete/_index.md b/content/v2.0/reference/cli/influx/delete/_index.md index c38b5a1e8..be5f62aea 100644 --- a/content/v2.0/reference/cli/influx/delete/_index.md +++ b/content/v2.0/reference/cli/influx/delete/_index.md @@ -34,9 +34,4 @@ timestamps between the specified `--start` and `--stop` times in the specified b | `--start` | The start time in RFC3339 format (i.e. `2009-01-02T23:00:00Z`) | string | | `--stop` | The stop time in RFC3339 format (i.e. `2009-01-02T23:00:00Z`) | string | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/help/_index.md b/content/v2.0/reference/cli/influx/help/_index.md index e0e10ce84..466ad9902 100644 --- a/content/v2.0/reference/cli/influx/help/_index.md +++ b/content/v2.0/reference/cli/influx/help/_index.md @@ -20,9 +20,4 @@ influx help [command] [flags] |:---- |:----------- | | `-h`, `--help` | Help for help | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/org/_index.md b/content/v2.0/reference/cli/influx/org/_index.md index 81985d104..931e1abef 100644 --- a/content/v2.0/reference/cli/influx/org/_index.md +++ b/content/v2.0/reference/cli/influx/org/_index.md @@ -34,9 +34,4 @@ influx org [command] |:---- |:----------- | | `-h`, `--help` | Help for the `org` command | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/org/create.md b/content/v2.0/reference/cli/influx/org/create.md index df7a9fcca..6da222fcc 100644 --- a/content/v2.0/reference/cli/influx/org/create.md +++ b/content/v2.0/reference/cli/influx/org/create.md @@ -21,9 +21,4 @@ influx org create [flags] | `-h`, `--help` | Help for `create` | | | `-n`, `--name` | The name of organization that will be created | string | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/org/delete.md b/content/v2.0/reference/cli/influx/org/delete.md index 4dd2cbbd8..f49e79328 100644 --- a/content/v2.0/reference/cli/influx/org/delete.md +++ b/content/v2.0/reference/cli/influx/org/delete.md @@ -21,9 +21,4 @@ influx org delete [flags] | `-h`, `--help` | Help for `delete` | | | `-i`, `--id` | The organization ID **(Required)** | string | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/org/find.md b/content/v2.0/reference/cli/influx/org/find.md index 51537ba18..e14ae59ac 100644 --- a/content/v2.0/reference/cli/influx/org/find.md +++ b/content/v2.0/reference/cli/influx/org/find.md @@ -22,9 +22,4 @@ influx org find [flags] | `-i`, `--id` | The organization ID | string | | `-n`, `--name` | The organization name | string | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/org/members/_index.md b/content/v2.0/reference/cli/influx/org/members/_index.md index a297448b8..93af45af9 100644 --- a/content/v2.0/reference/cli/influx/org/members/_index.md +++ b/content/v2.0/reference/cli/influx/org/members/_index.md @@ -29,9 +29,4 @@ influx org members [command] |:---- |:----------- | | `-h`, `--help` | Help for `members` | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/org/members/add.md b/content/v2.0/reference/cli/influx/org/members/add.md index cb8b3b771..f09d538d4 100644 --- a/content/v2.0/reference/cli/influx/org/members/add.md +++ b/content/v2.0/reference/cli/influx/org/members/add.md @@ -23,9 +23,4 @@ influx org members add [flags] | `-o`, `--member` | The member ID | string | | `-n`, `--name` | The organization name | string | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/org/members/list.md b/content/v2.0/reference/cli/influx/org/members/list.md index 4ce905f1f..f14316b44 100644 --- a/content/v2.0/reference/cli/influx/org/members/list.md +++ b/content/v2.0/reference/cli/influx/org/members/list.md @@ -22,9 +22,4 @@ influx org members list [flags] | `-i`, `--id` | The organization ID | string | | `-n`, `--name` | The organization name | string | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/org/members/remove.md b/content/v2.0/reference/cli/influx/org/members/remove.md index e57b8292d..0f11ebb30 100644 --- a/content/v2.0/reference/cli/influx/org/members/remove.md +++ b/content/v2.0/reference/cli/influx/org/members/remove.md @@ -23,9 +23,4 @@ influx org members remove [flags] | `-o`, `--member` | The member ID | string | | `-n`, `--name` | The organization name | string | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/org/update.md b/content/v2.0/reference/cli/influx/org/update.md index 9688c36cb..18961b297 100644 --- a/content/v2.0/reference/cli/influx/org/update.md +++ b/content/v2.0/reference/cli/influx/org/update.md @@ -22,9 +22,4 @@ influx org update [flags] | `-i`, `--id` | The organization ID **(Required)** | string | | `-n`, `--name` | The organization name | string | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/ping/_index.md b/content/v2.0/reference/cli/influx/ping/_index.md index 628ed2956..613e2dfad 100644 --- a/content/v2.0/reference/cli/influx/ping/_index.md +++ b/content/v2.0/reference/cli/influx/ping/_index.md @@ -25,9 +25,4 @@ influx ping [flags] |:---- |:----------- | | `-h`, `--help` | Help for the `ping` command | -## Global Flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/query/_index.md b/content/v2.0/reference/cli/influx/query/_index.md index 89c0e411c..5c154fd19 100644 --- a/content/v2.0/reference/cli/influx/query/_index.md +++ b/content/v2.0/reference/cli/influx/query/_index.md @@ -25,9 +25,4 @@ influx query [query literal or @/path/to/query.flux] [flags] | `-h`, `--help` | Help for the query command | | | `--org-id` | The organization ID | string | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/repl/_index.md b/content/v2.0/reference/cli/influx/repl/_index.md index bb12878ec..85539011f 100644 --- a/content/v2.0/reference/cli/influx/repl/_index.md +++ b/content/v2.0/reference/cli/influx/repl/_index.md @@ -32,9 +32,4 @@ To use the Flux REPL, you must first authenticate with a [token](/v2.0/security/ | `-o`, `--org` | The name of the organization | string | | `--org-id` | The ID of organization to query | string | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/setup/_index.md b/content/v2.0/reference/cli/influx/setup/_index.md index 40cdcd851..416530e38 100644 --- a/content/v2.0/reference/cli/influx/setup/_index.md +++ b/content/v2.0/reference/cli/influx/setup/_index.md @@ -24,9 +24,4 @@ influx setup [flags] |:---- |:----------- | | `-h`, `--help` | Help for the `setup` command | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/task/_index.md b/content/v2.0/reference/cli/influx/task/_index.md index a3341bbb4..d4fedc1aa 100644 --- a/content/v2.0/reference/cli/influx/task/_index.md +++ b/content/v2.0/reference/cli/influx/task/_index.md @@ -33,9 +33,4 @@ influx task [command] |:---- |:----------- | | `-h`, `--help` | Help for the `task` command | -### Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/task/create.md b/content/v2.0/reference/cli/influx/task/create.md index 20a659023..94590bbd5 100644 --- a/content/v2.0/reference/cli/influx/task/create.md +++ b/content/v2.0/reference/cli/influx/task/create.md @@ -22,9 +22,4 @@ influx task create [query literal or @/path/to/query.flux] [flags] | `--org` | Organization name | string | | `--org-id` | ID of the organization that owns the task | string | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/task/delete.md b/content/v2.0/reference/cli/influx/task/delete.md index 56f61efa8..23309a85f 100644 --- a/content/v2.0/reference/cli/influx/task/delete.md +++ b/content/v2.0/reference/cli/influx/task/delete.md @@ -21,9 +21,4 @@ influx task delete [flags] | `-h`, `--help` | Help for `delete` | | | `-i`, `--id` | Task id **(Required)** | string | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/task/find.md b/content/v2.0/reference/cli/influx/task/find.md index a17c477f5..0ffd130b3 100644 --- a/content/v2.0/reference/cli/influx/task/find.md +++ b/content/v2.0/reference/cli/influx/task/find.md @@ -25,9 +25,4 @@ influx task find [flags] | `--org-id` | Task organization ID | string | | `-n`, `--user-id` | Task owner ID | string | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/task/log/_index.md b/content/v2.0/reference/cli/influx/task/log/_index.md index 6eddc01b9..670a70da1 100644 --- a/content/v2.0/reference/cli/influx/task/log/_index.md +++ b/content/v2.0/reference/cli/influx/task/log/_index.md @@ -27,9 +27,4 @@ influx task log [command] |:---- |:----------- | | `-h`, `--help` | Help for `log` | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/task/log/find.md b/content/v2.0/reference/cli/influx/task/log/find.md index e5498ff90..eb3c6fe4c 100644 --- a/content/v2.0/reference/cli/influx/task/log/find.md +++ b/content/v2.0/reference/cli/influx/task/log/find.md @@ -23,9 +23,4 @@ influx task log find [flags] | `--run-id` | Run ID | string | | `--task-id` | Task ID **(Required)** | string | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/task/retry.md b/content/v2.0/reference/cli/influx/task/retry.md index b962e48e8..1dc8b284b 100644 --- a/content/v2.0/reference/cli/influx/task/retry.md +++ b/content/v2.0/reference/cli/influx/task/retry.md @@ -22,9 +22,4 @@ influx task retry [flags] | `-r`, `--run-id` | Run id **(Required)** | string | | `-i`, `--task-id` | Task id **(Required)** | string | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/task/run/_index.md b/content/v2.0/reference/cli/influx/task/run/_index.md index 9fcae01bc..75cdcba5e 100644 --- a/content/v2.0/reference/cli/influx/task/run/_index.md +++ b/content/v2.0/reference/cli/influx/task/run/_index.md @@ -28,9 +28,4 @@ influx task run [command] |:---- |:----------- | | `-h`, `--help` | Help for `run` | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/task/run/find.md b/content/v2.0/reference/cli/influx/task/run/find.md index d390048c5..fd02347b3 100644 --- a/content/v2.0/reference/cli/influx/task/run/find.md +++ b/content/v2.0/reference/cli/influx/task/run/find.md @@ -26,9 +26,4 @@ influx task run find [flags] | `--run-id` | Run ID | string | | `--task-id` | Task ID **(Required)** | string | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/task/update.md b/content/v2.0/reference/cli/influx/task/update.md index 54c89cec2..892ef26e7 100644 --- a/content/v2.0/reference/cli/influx/task/update.md +++ b/content/v2.0/reference/cli/influx/task/update.md @@ -22,9 +22,4 @@ influx task update [flags] | `-i`, `--id` | Task ID **(Required)** | string | | `--status` | Update task status | string | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/user/_index.md b/content/v2.0/reference/cli/influx/user/_index.md index 86b2a2e5f..5de96de1a 100644 --- a/content/v2.0/reference/cli/influx/user/_index.md +++ b/content/v2.0/reference/cli/influx/user/_index.md @@ -30,9 +30,4 @@ influx user [command] |:---- |:----------- | | `-h`, `--help` | Help for the `user` command | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/user/create.md b/content/v2.0/reference/cli/influx/user/create.md index 12387c75b..4c03d58af 100644 --- a/content/v2.0/reference/cli/influx/user/create.md +++ b/content/v2.0/reference/cli/influx/user/create.md @@ -21,9 +21,4 @@ influx user create [flags] | `-h`, `--help` | Help for `create` | | | `-n`, `--name` | The user name **(Required)** | string | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/user/delete.md b/content/v2.0/reference/cli/influx/user/delete.md index 2abefaad8..77e81c35c 100644 --- a/content/v2.0/reference/cli/influx/user/delete.md +++ b/content/v2.0/reference/cli/influx/user/delete.md @@ -21,9 +21,4 @@ influx user delete [flags] | `-h`, `--help` | Help for `delete` | | | `-i`, `--id` | The user ID **(Required)** | string | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/user/find.md b/content/v2.0/reference/cli/influx/user/find.md index d91d295fc..4156c96d4 100644 --- a/content/v2.0/reference/cli/influx/user/find.md +++ b/content/v2.0/reference/cli/influx/user/find.md @@ -22,9 +22,4 @@ influx user find [flags] | `-i`, `--id` | The user ID | string | | `-n`, `--name` | The user name | string | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/user/update.md b/content/v2.0/reference/cli/influx/user/update.md index 1c370a13f..d0149a4f0 100644 --- a/content/v2.0/reference/cli/influx/user/update.md +++ b/content/v2.0/reference/cli/influx/user/update.md @@ -23,9 +23,4 @@ influx user update [flags] | `-i`, `--id` | The user ID **(Required)** | string | | `-n`, `--name` | The user name | string | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/content/v2.0/reference/cli/influx/write/_index.md b/content/v2.0/reference/cli/influx/write/_index.md index 4c41f0afb..cc6c32a82 100644 --- a/content/v2.0/reference/cli/influx/write/_index.md +++ b/content/v2.0/reference/cli/influx/write/_index.md @@ -29,9 +29,4 @@ influx write [line protocol or @/path/to/points.txt] [flags] | `--org-id` | The ID of the organization that owns the bucket | string | | `-p`, `--precision` | Precision of the timestamps of the lines (default `ns`) | string | -## Global flags -| Global flag | Description | Input type | -|:----------- |:----------- |:----------:| -| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | -| `--local` | Run commands against the local filesystem | | -| `-t`, `--token` | API token to use in client calls | string | +{{% influx-cli-global-flags %}} diff --git a/layouts/shortcodes/influx-cli-global-flags.md b/layouts/shortcodes/influx-cli-global-flags.md new file mode 100644 index 000000000..1b12fcc04 --- /dev/null +++ b/layouts/shortcodes/influx-cli-global-flags.md @@ -0,0 +1,8 @@ +## Global Flags + +| Flag | Description | Input type | +|:----------------|:--------------------------------------------------------------------------------------------|:----------:| +| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string | +| `--local` | Run commands against the local filesystem | | +| `-t`, `--token` | API token to use in client calls | string | +| `--skip-verify` | Skip certificate verification (use when connecting over TLS with a self-signed certificate) | |