Skip to content

Commit aec9925

Browse files
author
Gregor Pollak
committed
Merge branch 'master' of github.com:rocketweb/magento-config-export
2 parents f514f69 + 478cfea commit aec9925

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
1-
# RocketWeb Config (Export)
1+
## RocketWeb Config (Export)
22

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

66
## Usage
7-
Running the command will generate a file config.xml inside of var/config/ folder. If file doesn't exist, it will
7+
Running the command will generate a file `config.xml` inside of `var/config/` folder. If file doesn't exist, it will
88
create it, otherwise it will append/modify values to the XML structure.
99

10+
Command:
11+
`bin/magento config:data:export scopes paths`
1012

13+
Example:
14+
`bin/magento config:data:export default,stores trans_email/*/email`
1115

12-
> bin/magento config:data:export _scopes_ _paths_
16+
Arguments:
17+
- `scopes`: Scopes for which you want to export values for. CSV values are allowed. Options: all|default|websites|stores
18+
- `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)

0 commit comments

Comments
 (0)