Configuration is available from version 1.0.3.
If you only provide the key, the value will be output. If you provide both the key and value, the value will be set.
Global Configuration
Syntax:Local Configuration
Syntax:Note the only difference is the
--global flag.Options
-g, —global
Sets a global configuration option. This will affect all projects where a local configuration has not overridden it.Available Configuration Options
updates.check
This option controls whether NativeCLI will check for updates when it is run. The default istrue.
updates.auto
This option controls whether NativeCLI will automatically update itself when a new version is available. The default isfalse.
Examples
Set the global configuration optionupdates.check to false:
updates.check: