$ vendor/bin/frontend-assets config [-c|--config CONFIG-FILE] [--unset] [--validate] [--json] <path> [<newValue>]
This command reads, writes or validates configuration for the assets from the given configuration file.
Define the path to the assets configuration file.
Note
In previous versions, configuration could also be added to the composer.json
file.
This is no longer possible. You need to define all settings in a separate file
and pass it via this command option.
- Required: yes
- Default:
assets.json
Use this command option to unset configuration at the given path.
Note
This option cannot be used in combination with the --validate
option and the
newValue
argument.
- Required: no
- Default: no
This option can be used to validate asset configuration provided by the given assets configuration file.
Note
This option cannot be used in combination with the --unset
option and the newValue
argument.
- Required: no
- Default: no
Treat the value passed with newValue
argument as JSON.
- Required: no
- Default: no
Run value processors when reading or validating asset configuration.
Note
This option has no effect with the newValue
argument.
- Required: no
- Default: no
The path to the configuration value to be read or written inside the configuration
file. Path segments should be combined with a slash (/
), e.g. 0/source/version
.
- Required: yes
- Default: –
Define the new value to be written at the given path in the configuration file. If you leave this argument out, the current value at the given path will be returned.
Note
This argument cannot be used in combination with the --unset
and
--validate
options.
- Required: no
- Default: –