2025-04-02 06:25:13 +03: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-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]}}`
|