Commit 27ac5aab authored by Samuel Sirois's avatar Samuel Sirois
Browse files

Add config_export task

parent d26425ef
......@@ -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():
"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment