From 9b46b4759c0b8c98e61a6b8e4e0d72d59ed350f9 Mon Sep 17 00:00:00 2001 From: Konstantin Zolotarev Date: Tue, 18 Apr 2017 17:04:15 +0300 Subject: [PATCH] Added ecto tasks --- plugins/mix/_mix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/plugins/mix/_mix b/plugins/mix/_mix index cfeb4705..7c852d22 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'