init - initialize a project
Create norm.yaml and the input directory layout for configured targets.
Usage
sh
norm init
norm init --dry-run
norm init --forceOptions
--dry-run: Print paths that would be created without writing files.--force: Create missing paths only. Existingnorm.yamlfiles are not overwritten.
Behavior
- Creates
norm.yamlfrom the default template when missing. - Creates
sql.repositories, schema parent directories, and an empty schema file for each target. - If the project is already initialized, prints
Already initializedand exits successfully.