add example to show string w quotes
parent
62f9a45118
commit
19aa60160d
|
@ -35,10 +35,22 @@ influx stacks init [flags]
|
|||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
|
||||
## Examples
|
||||
|
||||
### Initialize a stack with a name and description
|
||||
```sh
|
||||
# Initialize a stack with a name and description
|
||||
# Use environment variables
|
||||
influx stack init -n $STACK_NAME -d $STACK_DESCRIPTION
|
||||
|
||||
# Initialize a stack with a name and urls to associate with stack.
|
||||
influx stack init -n $STACK_NAME -u $PATH_TO_TEMPLATE
|
||||
# Use strings
|
||||
influx stack init -n "Example Stack" -d "InfluxDB stack for monitoring some awesome stuff"
|
||||
```
|
||||
|
||||
### Initialize a stack with a name and urls to associate with the stack
|
||||
|
||||
```sh
|
||||
# Use environment variables
|
||||
influx stack init -n $STACK_NAME -u $PATH_TO_TEMPLATE
|
||||
|
||||
# Use strings
|
||||
influx stack init -n "Example Stack" -u https://example.com/template-1.yml
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue