pub async fn execute_fmt(
target_root: &Path,
check: bool,
) -> Result<HyperlaneFmtReport>Expand description
Executes unified crate-cli formatting first (Markdown, YAML, JSON/JSONC, TOML, plain text, derives, cargo fmt), then applies Hyperlane-specific attribute formatting.
§Arguments
&Path- Workspace root directory,Cargo.tomlmanifest path, or single file path.bool- Whentrue, verifies formatting without writing files.
§Returns
io::Result<HyperlaneFmtReport>- Aggregated formatting report or error.