Files
cheatsheet-tldr/tldr/sfdk-init
2025-10-17 00:19:47 +00:00

26 lines
666 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# sfdk init
> Initialize a new project.
> More information: <https://github.com/sailfishos/sailfish-qtcreator/blob/master/share/qtcreator/sfdk/modules/15-building-init/doc/command.init.adoc>.
- Initialize a new project of the given type:
`sfdk init {{[-t|--type]}} {{type}}`
- Initialize a new project with a specified builder:
`sfdk init {{[-t|--type]}} {{type}} {{[-b|--builder]}} {{builder}}`
- Initialize a new project ignoring non-empty directory:
`sfdk init {{[-t|--type]}} {{type}} --force`
- List available project types:
`sfdk init {{[-l|--list-types]}}`