commands.sh

sfdk init

all

Initialize a new project.

More info →

Options (3)

-t, --typeboolean

Initialize a new project of the given type

Example: sfdk init {{[-t|--type]}} {{type}}
-b, --builderboolean

Initialize a new project with a specified builder

Example: sfdk init {{[-t|--type]}} {{type}} {{[-b|--builder]}} {{builder}}
-l, --list-typesboolean

List available project types

Example: sfdk init {{[-l|--list-types]}}

Examples (4)

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]
made by @shridhargupta | data from tldr-pages