gomask version
Display version and configuration information
gomask version
Display version and configuration information.
Synopsis
gomask version
Description
The version command displays the current CLI version along with configuration details. This is useful for:
- Verifying your installation
- Confirming your API connection
- Troubleshooting configuration issues
- Checking debug mode status
Options
This command has no additional options.
Output
GoMask CLI v0.0.1
API URL: https://cli.gomask.ai/api/v1
Debug: disabled
Config: /path/to/gomask.toml
Output Fields
| Field | Description |
|---|---|
| Version | Current CLI version number |
| API URL | The configured GoMask API endpoint |
| Debug | Whether debug logging is enabled |
| Config | Path to the active configuration file |
Examples
Basic Version Check
gomask version
Verify Installation
After installing the CLI, run version to confirm it's working:
$ pip install gomask-cli
$ gomask version
GoMask CLI v0.0.1
API URL: https://cli.gomask.ai/api/v1
Debug: disabled
Check Configuration
Use with debug flag to see detailed configuration:
gomask --debug version
Exit Codes
| Code | Description |
|---|---|
| 0 | Version displayed successfully |
| 1 | Error reading configuration |