A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://ionicframework.com/docs/cli/commands/config-set below:

ionic config set | Ionic Framework

ionic config set

Set config values

$ ionic config set [property] [value] [options]

This command writes configuration values to the project's ./ionic.config.json file. It can also operate on the global CLI configuration (~/.ionic/config.json) using the --global option.

For nested properties, separate nest levels with dots. For example, the property name integrations.cordova will look in the integrations object for the cordova property.

For multi-app projects, this command is scoped to the current project by default. To operate at the root of the project configuration file instead, use the --root option.

This command will attempt to coerce value into a suitable JSON type. If it is JSON-parsable, such as 123, true, [], etc., then it takes the parsed result. Otherwise, the value is interpreted as a string. For stricter input, use --json, which will error with non-JSON values.

By default, if property exists and is an object or an array, the value is not overwritten. To disable this check and always overwrite the property, use --force.

property

The property name you wish to set

value

The new value of the given property

Options Advanced Options
$ ionic config set name newAppName
$ ionic config set name "\"newAppName\"" --json
$ ionic config set -g interactive false

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4