metalcloud-cli version
Display CLI version, configuration details, and environment information
Synopsis
Section titled “Synopsis”Display comprehensive version and configuration information for the Metalcloud CLI.
This command shows:
- CLI version information and compatible Metalsoft version range
- Current configuration settings (endpoint, security mode, logging)
- User authentication details (when authenticated)
- Relevant environment variables (proxy settings)
The command uses the current configuration from:
- Configuration file (if present)
- Environment variables
- Command-line flags from previous commands
No additional flags are supported by this command. All information is gathered from the current CLI configuration and environment.
Examples:
Display basic version information
Section titled “Display basic version information”metalcloud-cli version
Use short alias
Section titled “Use short alias”metalcloud-cli ver
View version info with different verbosity (set globally)
Section titled “View version info with different verbosity (set globally)”metalcloud-cli —verbosity debug version
Check version with specific endpoint configuration
Section titled “Check version with specific endpoint configuration”metalcloud-cli —endpoint https://my.metalcloud.com version
metalcloud-cli version [flags]Options
Section titled “Options” -h, --help help for versionOptions inherited from parent commands
Section titled “Options inherited from parent commands” -k, --api_key string MetalCloud API key -c, --config string Config file path -d, --debug Set to enable debug logging -e, --endpoint string MetalCloud API endpoint -f, --format string Output format. Supported values are 'text','csv','md','json','yaml'. (default "text") -i, --insecure_skip_verify Set to allow insecure transport -l, --log_file string Log file path -v, --verbosity string Log level verbosity (default "INFO")SEE ALSO
Section titled “SEE ALSO”- metalcloud-cli - MetalCloud CLI