From 9cd3701ac0297f4bdf9673ea0dffa8ffdaea63e8 Mon Sep 17 00:00:00 2001 From: Konstantin Zolotarev Date: Wed, 25 Apr 2018 23:12:19 +0300 Subject: [PATCH] Added ecto tasks (#6035) --- plugins/mix/_mix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/plugins/mix/_mix b/plugins/mix/_mix index 025572a4..ecbe7e2d 100644 --- a/plugins/mix/_mix +++ b/plugins/mix/_mix @@ -21,6 +21,15 @@ _1st_arguments=( 'deps.unlock:Unlock the given dependencies' 'deps.update:Update the given dependencies' 'do:Executes the tasks separated by comma' + 'ecto.create:Create Ecto database' + 'ecto.drop:Drop the storage for the given repository' + 'ecto.dump:Dumps the current environment’s database structure' + 'ecto.gen.migration:Generates a migration' + 'ecto.gen.repo:Generates a new repository' + 'ecto.load:Loads the current environment’s database structure' + 'ecto.migrate:Runs Ecto migration' + 'ecto.migrations:Displays the up / down migration status' + 'ecto.rollback:Reverts applied migrations' 'escript.build:Builds an escript for the project' 'help:Print help information for tasks' 'hex:Print hex help information'