dev config init

Write the application's config and CLI runtime config

Command version
0.0.0
Command configuration
cli:cli.config.init@0.0.0

Arguments

ArgumentTypeRequiredDefaultDescription
--shell-adapterstring one of pwsh, shNoShell adapter to use for adapter-backed commands (default: host detection when omitted)
--app-rootstringNoApp root path for app configuration and runtime pinning (default: preserve existing value, otherwise .)

It also takes the global arguments.

Output

It answers with a init.initialized.

Types

init.initialized

FieldTypeRequiredDefaultDescription
initializedbooleanYesAlways true: the configuration files were written
updatedbooleanYesWhether the run changed anything: a configuration file that did not exist was written, or the runtime configuration it wrote differs from what the repository stated before. false where the same content was written again
shellAdapterstringYesThe shell adapter written to the runtime configuration: the one --shell-adapter named, else the one detected for the host shell
enginestringYesThe engine the written runtime configuration states
appRootstringYesThe appRoot the written runtime configuration states: the one --app-root named, else the one already stated, else .
appConfigPathstringNoWhere the app config was written; absent for an application that declares no config type
cliConfigPathstringYesWhere the runtime configuration was written