Updated on 2022-02-21 GMT+08:00

Querying the edgectl Version

Function

This command is used to check the software version and compilation platform of edgectl.

Syntax

edgectl version

version can be abbreviated as ver, that is:

edgectl ver

Parameters

Table 1 Parameter description

Parameter

Mandatory

Shorthand

Description

--short

No

-s

Whether to display only the version number.

--output

No

-o

Output format. The value can be json or yaml.

Example

Query the software version of edgectl.

edgectl version

The following is an example of the command output:

Version: &version.VersionInfo{Version:"1.0.0", GitCommit:"02e24c38a0120e5738d63e8289bc88424cdad35e", GoVersion:"go1.12.1", Compiler:"gc", Platform:"linux/amd64"}