2025-04-03 20:36:56 -06:00
# sfdk init
> Initializes a new project.
2025-05-08 12:26:01 -06:00
> More information: <https://github.com/sailfishos/sailfish-qtcreator/blob/master/share/qtcreator/sfdk/modules/15-building-init/doc/command.init.adoc>.
2025-04-03 20:36:56 -06:00
- Initialize a new project of the given type:
2025-04-25 19:33:51 -06:00
`sfdk init {{[-t|--type]}} {{type}}`
2025-04-03 20:36:56 -06:00
- Initialize a new project with a specified builder:
2025-04-25 19:33:51 -06:00
`sfdk init {{[-t|--type]}} {{type}} {{[-b|--builder]}} {{builder}}`
2025-04-03 20:36:56 -06:00
- Initialize a new project ignoring non-empty directory:
2025-04-25 19:33:51 -06:00
`sfdk init {{[-t|--type]}} {{type}} --force`
2025-04-03 20:36:56 -06:00
- List available project types:
2025-04-25 19:33:51 -06:00
`sfdk init {{[-l|--list-types]}}`