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
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"}
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot