Commit 2338c702 authored by Samuel Sirois's avatar Samuel Sirois
Browse files

Add drush.config_import

parent 33cc0e3e
Pipeline #2487 failed with stages
in 1 minute and 6 seconds
......@@ -104,3 +104,4 @@ def update():
execute(drush.make, 'update')
......@@ -237,3 +237,13 @@ def import_dump(dump=False):
print(green('Database dump successfully restored.'))
print(red('Could not find database dump at {}'.format(dump)))
def config_import():
Import configurations from a config directory.
dk_run(['php'], user=env.local_userid,
cmd="drush config-import -y")
print(green('Configurations imported.'))
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