Skip to content

This is a simple tool to export specific sections of configuration into config.xml file to make it VCS transferable without locking them by using app/etc/config.php or app/etc/env.php

Notifications You must be signed in to change notification settings

rocketweb/magento-config-export

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RocketWeb Config (Export)

This module is a simple tool to export specific sections of configuration into config.xml file to make it VCS transferable without locking them by using app/etc/config.php or app/etc/env.php

Usage

Running the command will generate a file config.xml inside of var/config/ folder. If file doesn't exist, it will create it, otherwise it will append/modify values to the XML structure.

Command: bin/magento config:data:export scopes paths

Example: bin/magento config:data:export default,stores trans_email/*/email

Arguments:

  • scopes: Scopes for which you want to export values for. CSV values are allowed. Options: all|default|websites|stores
  • paths: Path(s) that you want to export. Wildcard support as asterisk for second and third section of the path () - partial wildcard is not supported (eg. trans_email/_general/email)

About

This is a simple tool to export specific sections of configuration into config.xml file to make it VCS transferable without locking them by using app/etc/config.php or app/etc/env.php

Resources

Stars

Watchers

Forks

Languages