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