Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Drupal
drupalizer
Commits
27ac5aab
Commit
27ac5aab
authored
Jan 12, 2017
by
Samuel Sirois
Browse files
Add config_export task
parent
d26425ef
Changes
1
Show whitespace changes
Inline
Side-by-side
drush.py
View file @
27ac5aab
...
...
@@ -239,6 +239,16 @@ def import_dump(dump=False):
print
(
red
(
'Could not find database dump at {}'
.
format
(
dump
)))
@
task
(
alias
=
'cex'
)
def
config_export
():
"""
Export configurations in a config directory.
"""
dk_run
(
env
.
services
[
'php'
],
user
=
env
.
local_userid
,
cmd
=
"drush config-export -y"
)
print
(
green
(
'Configurations exported.'
))
@
task
def
config_import
():
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment