added influx pkg stack list and remove for beta-10

pull/1023/head
Scott Anderson 2020-05-08 09:04:02 -06:00
parent c674541aae
commit 572810d710
3 changed files with 71 additions and 3 deletions

View File

@ -18,9 +18,11 @@ influx pkg stack [command]
```
## Subcommands
| Subcommand | Description |
|:------- |:----------- |
| [init](/v2.0/reference/cli/influx/pkg/stack/init/) | Initialize a stack |
| Subcommand | Description |
|:------- |:----------- |
| [init](/v2.0/reference/cli/influx/pkg/stack/init/) | Initialize a stack |
| [list](/v2.0/reference/cli/influx/pkg/stack/list/) | List stacks |
| [remove](/v2.0/reference/cli/influx/pkg/stack/remove/) | Remove a stack |
## Flags
| Flag | Description |

View File

@ -0,0 +1,34 @@
---
title: influx pkg stack list
description: >
The 'influx pkg stack list' command lists InfluxDB stacks and associated resources.
menu:
v2_0_ref:
name: influx pkg stack list
parent: influx pkg stack
weight: 201
v2.0/tags: [templates]
---
The `influx pkg stack list` command lists InfluxDB stacks and associated resources.
## Usage
```
influx pkg stack list [flags]
```
#### Aliases
`list`, `ls`
## Flags
| Flag | Description | Input type | {{< cli/mapped >}} |
|:---- |:----------- |:----------: |:------------------ |
| `-h`, `--help` | Help for the `list` command | | |
| `--hide-headers` | Hide 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` |
| `--stack-id` | Stack IDs to filter by | list of strings | |
| `--stack-name` | Stack names to filter by | list of strings | |
{{% cli/influx-global-flags %}}

View File

@ -0,0 +1,32 @@
---
title: influx pkg stack remove
description: The 'influx pkg stack remove' command removes an InfluxDB stack.
menu:
v2_0_ref:
name: influx pkg stack remove
parent: influx pkg stack
weight: 201
v2.0/tags: [templates]
---
The `influx pkg stack remove` command removes an InfluxDB stack.
## Usage
```
influx pkg stack remove [flags]
```
#### Aliases
`remove`, `rm`, `uninstall`
## Flags
| Flag | Description | Input type | {{< cli/mapped >}} |
|:---- |:----------- |:----------: |:------------------ |
| `-h`, `--help` | Help for the `remove` command | | |
| `--hide-headers` | Hide 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` |
| `--stack-id` | Stack IDs to remove | list of strings | |
{{% cli/influx-global-flags %}}