weld init¶
Initialize weld in the current git repository.
Usage¶
Description¶
Creates the .weld/ directory with default configuration and updates version control:
.weld/config.toml- Configuration file- Updates
.gitignoreto exclude the entire.weld/directory (local-only metadata)
Exit Codes¶
| Code | Meaning |
|---|---|
| 0 | Success |
| 2 | Missing or unauthenticated tool |
| 3 | Not a git repository |
Examples¶
Initialize in current project¶
Verify after initialization¶
See Also¶
- doctor - Verify your toolchain after initialization
- Configuration - Customize the generated config