baml-cli fmt
Format your BAML files.
Beta Feature
This feature is still in progress and does not yet support all BAML syntax.
Usage
baml-cli fmt [file.baml] [file2.baml] [file3.baml] ...
Description
Formats BAML files in-place. Formatting is non-configurable.
Disabling Formatting
To disable the formatter for a specific file, add:
// baml-format: ignore
anywhere in the file.
Examples
# Format specific files
baml-cli fmt main.baml functions.baml
# Format all BAML files
baml-cli fmt baml_src/*.baml