HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

sfdk init — Initialize a new project. More information: <https://github.com/sailfishos/sailfish-qtcreator/blob/m

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandnewclimoreinformationinitializesfdk initproject

Problem

How to use the sfdk init command: 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>.

Solution

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]}}

Code Snippets

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]}}

Context

tldr-pages: common/sfdk init

Revisions (0)

No revisions yet.