2025-04-03 20:36:56 -06:00
|
|
|
# sfdk init
|
|
|
|
|
|
|
|
|
|
> Initializes a new project.
|
|
|
|
|
> More information: <https://docs.sailfishos.org/Reference/I18n/Application_Configuration/>.
|
|
|
|
|
|
|
|
|
|
- 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]}}`
|