Examples
Examples
Learn common ways to initialize a project using Custy.
custy initCategory
Quick Command
custy initOverviewâ
The following examples demonstrate common ways to initialize a project.
Most users only need the default initialization, while advanced workflows can use initialization modes and overwrite options to customize the generated resources.
Common Examples
Examples
Practical command examples.
Initialize a Project
Generate the complete Custy project workspace using the default initialization mode.
custy initGenerate Configuration Only
Create only the Custy configuration file.
custy init --mode configGenerate Templates Only
Generate only the default template resources.
custy init --mode templatesGenerate Example Resources
Generate only the example message templates.
custy init --mode examplesOverwrite Existing Resources
Replace existing generated resources without prompting.
custy init --forcePrompt Before Overwriting
Ask for confirmation before replacing existing resources.
custy init --askTypical First-Time Setup
For a new project, the recommended workflow is:
- Run
custy init. - Review the generated configuration.
- Customize templates if necessary.
- Commit the generated resources to version control.
This allows every contributor to share the same project configuration from the beginning.
What's Next?
After becoming familiar with the initialization process, continue to the Output page to understand the messages and results produced by the command.