Document `influx version` command (#1528)

* Document `influx version` command
pull/1529/head
pierwill 2020-09-22 12:35:51 -07:00 committed by GitHub
parent a9958d4e25
commit 6b3022254c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 0 deletions

View File

@ -67,6 +67,7 @@ influx [command]
| [template](/influxdb/v2.0/reference/cli/influx/template) | Summarize and validate an InfluxDB template |
| [transpile](/influxdb/v2.0/reference/cli/influx/transpile) | Manually transpile an InfluxQL query to Flux |
| [user](/influxdb/v2.0/reference/cli/influx/user) | User management commands |
| [version](/influxdb/v2.0/reference/cli/influx/version) | Print the influx CLI version |
| [write](/influxdb/v2.0/reference/cli/influx/write) | Write points to InfluxDB |
## Mapped environment variables

View File

@ -0,0 +1,23 @@
---
title: influx version
description: The `influx version` command outputs the current version of the influx command line interface (CLI).
influxdb/v2.0/tags: [influx, cli]
menu:
influxdb_2_0_ref:
parent: influx
weight: 202
---
The `influx version` command outputs the current version of the influx command line interface (CLI).
## Usage
```
influx version [flags]
```
## Flags
| Flag | | Description |
|:---- |:--- |:----------- |
| `-h` | `--help` | Help for the `version` command |