Skip to main content

execute_project

Function execute_project 

Source
pub async fn execute_project() -> Result<()>
Expand description

Execute the project-level init command (ferrous-forge init --project)

Writes project-level tooling files into the current directory: rustfmt.toml, clippy.toml, .vscode/settings.json, Cargo.toml [lints], docs scaffold, .github/workflows/ci.yml, and git hooks.

ยงErrors

Returns an error if the current directory cannot be determined, no Cargo.toml is found, or any tooling file fails to write.