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): ...@@ -239,6 +239,16 @@ def import_dump(dump=False):
print(red('Could not find database dump at {}'.format(dump))) print(red('Could not find database dump at {}'.format(dump)))
def config_export():
Export configurations in a config directory.
dk_run(['php'], user=env.local_userid,
cmd="drush config-export -y")
print(green('Configurations exported.'))
@task @task
def config_import(): def config_import():
""" """
Supports Markdown
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