Skip to main content
The version command displays the Rust Ironclad Framework version, package version, and current working directory.

Usage

cargo run --bin ironclad -- version

With Alias

ironclad version

Output Example

╔════════════════════════════════════════╗
║   🦀 Rust Ironclad Framework v1.0.0   ║
╚════════════════════════════════════════╝

Framework: Rust Ironclad
Version: 0.0.3
Working directory: "/home/user/my-project"

Information Displayed

The command shows:
  • Framework name: Rust Ironclad
  • Package version: Read from Cargo.toml using env!("CARGO_PKG_VERSION")
  • Working directory: Current working directory where the command was executed

When to Use

Use this command to:
  • Verify the CLI is installed correctly
  • Check which version of the framework you’re running
  • Confirm the working directory is correct
  • Debug CLI installation issues
  • Include version information in bug reports

Version Information

The version number follows Semantic Versioning:
  • Major version: Breaking changes
  • Minor version: New features (backward compatible)
  • Patch version: Bug fixes
Example: 1.0.0 means Major.Minor.Patch

Test Command

Run CLI diagnostics

CLI Overview

View all available CLI commands

Test Command

For more detailed diagnostics, use the test command:
cargo run --bin ironclad -- test
Output:
🔍 Running CLI diagnostics...

✅ CLI binary is working
✅ Clap argument parsing is working
✅ Project structure is correct
📁 Working directory: "/home/user/my-project"

🎉 Everything looks good!

Build docs developers (and LLMs) love