Files
cheatsheet-tldr/tldr/sfdk-init
2025-04-13 00:44:09 +00:00

26 lines
608 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# sfdk init
> Initializes a new project.
> More information: <https://docs.sailfishos.org/Reference/I18n/Application_Configuration/>.
- 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]}}`