dochia info
The info command displays system information about your Dochia installation and environment. This is useful for troubleshooting, bug reports, and verifying your setup.
Basic Usage
dochia info
Sample Output
Key | Value
--------------- | --------------------
OS Name | Mac OS X
OS Version | 15.6
OS Arch | x86_64
Binary Type | uber-jar
Dochia Version | 1.0.2-SNAPSHOT
Dochia Build | 2025-08-17T19:45:03Z
Term Width | 80
Term Type | xterm-256color
Shell | /bin/zsh
Information Fields
System Information
| Field | Description |
|---|---|
| OS Name | Operating system name (e.g., Mac OS X, Linux, Windows) |
| OS Version | Operating system version number |
| OS Arch | System architecture (x86_64, arm64, etc.) |
Dochia Information
| Field | Description |
|---|---|
| Binary Type | How Dochia was packaged (uber-jar, native-image) |
| Dochia Version | Current version of Dochia CLI |
| Dochia Build | Build timestamp in ISO format |
Terminal Information
| Field | Description |
|---|---|
| Term Width | Current terminal width in characters |
| Term Type | Terminal type identifier |
| Shell | Path to the current shell executable |
Use Cases
Troubleshooting
When reporting issues or seeking support, include the output of dochia info:
# Get system information for bug reports
dochia info
# Save to file for sharing
dochia info > dochia-system-info.txt
Environment Verification
Verify your installation and environment setup:
# Check if Dochia is properly installed
dochia info
# Verify version after updates
dochia info | grep "Dochia Version"
CI/CD Integration
Use in automated environments to log system information:
#!/bin/bash
echo "=== Dochia Environment Information ==="
dochia info
echo "=== Starting Tests ==="
dochia test -c api.yml -s $API_URL
Common Scenarios
Version Checking
# Quick version check
dochia info | grep "Dochia Version"
System Compatibility
The info command helps verify system compatibility:
- OS Support: Dochia runs on macOS, Linux, and Windows
- Architecture: Supports x86_64 and ARM64 architectures
- Terminal: Works with various terminal types and shells
Build Information
The build timestamp helps identify:
- Development vs. release builds
- Build age for update decisions
- Specific build for issue tracking
Integration Examples
Shell Scripts
GitHub Actions
- name: Display Dochia Info
run: |
echo "### Dochia Environment" >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
dochia info >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
Docker Containers
# Verify Dochia installation in container
RUN dochia info && echo "Dochia successfully installed"
Output Formats
The info command outputs information in a simple table format that's:
- Human-readable for manual inspection
- Parseable for scripting with tools like
grep,awk,sed - Consistent across different platforms
Related Commands
dochia --version- Quick version displaydochia --help- General help informationdochia list- List available playbooks and paths