Skip to main content

init

Function init 

Source
pub fn init(path: Option<&Path>, params: InitParams) -> Result<InitResult>
Expand description

Initialize a .mana/ directory with config and default files.

Creates .mana/, config.yaml, RULES.md stub, and .gitignore. Preserves existing project name and next_id on re-init. Returns structured result so callers can format output.