| Crates.io | raff-cli |
| lib.rs | raff-cli |
| version | 0.1.3 |
| created_at | 2025-06-13 15:50:05.834761+00 |
| updated_at | 2025-06-19 15:32:59.077099+00 |
| description | Rust Architecture Fitness Functions |
| homepage | |
| repository | https://github.com/liamwh/raff |
| max_upload_size | |
| id | 1711585 |
| size | 319,159 |
Inspired by Mark Richards's workshop on software architecture, this tool aims to provide practical ways to make architectural goals measurable and continuously verified β .
You can install raff directly using cargo:
cargo install raff-cli
(Assuming your crate is published on crates.io as raff-cli. If installing from a Git repository, the command would be cargo install --git https://github.com/liamwh/raff.git or similar if it's not yet on crates.io)
Once installed, the raff binary will be available in your Cargo binary path.
To see the list of available commands and their options:
raff --help
The general command structure is:
raff <COMMAND> [OPTIONS]
StatementCount: Analyzes statement counts.
raff statement-count --path ./src --output-format tableStatementCountArgs is defined. Common options could include --path <directory/file>, --exclude <patterns>, etc.)Volatility: Analyzes code churn from Git history.
raff volatility --path . --output-format jsonCoupling: Analyzes dependencies between modules.
raff coupling --path ./srcRustCodeAnalysis: Performs general Rust code analysis.
raff rust-code-analysis --path ./src --rule <specific_rule_name>For detailed options for each command, run:
raff <COMMAND> --help
$$ The following enhancements are planned or could be valuable additions:
String instead of Name).