added global flags int pkg stack commands, added hide-headers flag

pull/877/head
Scott Anderson 2020-03-27 13:56:08 -06:00
parent ff3ada9e8e
commit 9b4898cd95
3 changed files with 16 additions and 11 deletions

View File

@ -23,7 +23,7 @@ influx bucket delete [flags]
| `-h`, `--help` | Help for the `delete` command | | |
| `-i`, `--id` | Bucket ID _(required if no `--name`)_ | string | |
| `-n`, `--name` | Bucket name _(requires `--org` or `org-id`)_ | string | |
| `-o`, `--org` | Organization name | string | `$INFLUX_ORG` |
| `--org-id` | Organization ID | string | `$INFLUX_ORG_ID` |
| `-o`, `--org` | Organization name | string | `INFLUX_ORG` |
| `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
{{% cli/influx-global-flags %}}

View File

@ -26,3 +26,5 @@ influx pkg stack [command]
| Flag | Description |
|:---- |:----------- |
| `-h`, `--help` | Help for the `stack` command |
{{% cli/influx-global-flags %}}

View File

@ -17,12 +17,15 @@ influx pkg stack init [flags]
```
## Flags
| Flag | Description | Input type | {{< cli/mapped >}} |
|:---- |:----------- |:----------: |:------------------ |
| `-h`, `--help` | Help for the `init` command | | |
| `--json` | Output data as JSON (default `false`) | | `$INFLUX_OUTPUT_JSON` |
| `-o`, `--org` | Organization name | string | `$INFLUX_ORG` |
| `--org-id` | Organization ID | string | `$INFLUX_ORG_ID` |
| `-u`, `--package-url` | Package URLs to associate stack | list of strings | |
| `-d`, `--stack-description` | Stack description | string | |
| `-n`, `--stack-name` | Stack name | string | |
| Flag | Description | Input type | {{< cli/mapped >}} |
|:---- |:----------- |:----------: |:------------------ |
| `-h`, `--help` | Help for the `init` command | | |
| `--hide-headers` | Hide the table headers (default `false`)| | `INFLUX_HIDE_HEADERS` |
| `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
| `-o`, `--org` | Organization name | string | `INFLUX_ORG` |
| `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
| `-u`, `--package-url` | Package URLs to associate stack | list of strings | |
| `-d`, `--stack-description` | Stack description | string | |
| `-n`, `--stack-name` | Stack name | string | |
{{% cli/influx-global-flags %}}