pub async fn execute(args: InitArgs) -> Result<()>Expand description
Execute the init command.
§Process
- Determine project name
- Select template (interactive or from args)
- Detect package manager
- Create project directory structure
- Generate files from template
- Show next steps
§Arguments
args- Parsed init command arguments
§Errors
Returns errors for:
- Invalid project names
- Directory already exists
- File write failures