Brix is a CLI tool written in Rust for scaffolding and code generation.
Special thanks to Caleb Cushing for the original Java version, early interface design and internal architecture.
Brix is available on crates.io and the AUR for Arch Linux.
Install with cargo:
cargo install brix
Arch Linux (use an AUR helper like yay or trizen)
yay -S brix-git
Usage:
brix [LANGUAGE] [CONFIG NAME] [PROJECT] [MODULE]
brix [OPTIONS] --config-dir | -d [CONFIG DIRECTORY]
brix [OPTIONS] --workdir | -w [WORKING DIRECTORY]
cargo buildcargo runRun cargo test --all to test the entire workspace.
Run cargo doc --no-deps --workspace --document-private-items --open
There are a few examples located in ./config/brix/rust.
cargo run -- rust copy brix foocargo run -- rust exec foo foocargo run -- rust mkdir brix foocargo run -- rust search_replace brix foocargo run -- rust template brix foo