Back to Baml

baml-cli

languages/rust/baml-cli/README.md

0.222.0713 B
Original Source

baml-cli

BAML CLI for Rust - Command-line interface for the BAML (Boundary AI Markup Language) runtime.

Installation

From crates.io (when published)

bash
cargo install baml-cli

From source

bash
git clone https://github.com/BoundaryML/baml.git
cd baml/languages/rust
./setup-ffi.sh
cargo install --path baml-cli

From local development

bash
cd languages/rust
./setup-ffi.sh
cargo build --release -p baml-cli

The binary will be available at target/release/baml-cli.

Usage

bash
baml-cli [args...]

For more information, see the BAML documentation.

License

MIT License - see the LICENSE file for details.