From 8c40604e144587ef9bf7d636e700b0f19ed29754 Mon Sep 17 00:00:00 2001 From: Erwan ROUSSEL Date: Mon, 29 Oct 2018 21:56:54 +0100 Subject: [PATCH] Add autocompletion --- plugins/adonis/adonis.plugin.zsh | 38 ++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 plugins/adonis/adonis.plugin.zsh diff --git a/plugins/adonis/adonis.plugin.zsh b/plugins/adonis/adonis.plugin.zsh new file mode 100644 index 000000000..391cd93df --- /dev/null +++ b/plugins/adonis/adonis.plugin.zsh @@ -0,0 +1,38 @@ +# Adonis Plugin + +# This plugin provide autocompletion for adonis +# Adonis : https://adonisjs.com/ + +# Author: Dimensi0n | Erwan ROUSSEL + +_adonis() { + local -a subcmds + + subcmds=( + 'addon:Create a new AdonisJs addon' + 'install:' + 'new' + 'repl' + 'serve' + 'key\\:generate' + 'make\\:command' + 'make\\:controller' + 'make\\:ehandler' + 'make\\:exception' + 'make\\:hook' + 'make\\:listener' + 'make\\:middleware' + 'make\\:migration' + 'make\\:model' + 'make\\:provider' + 'make\\:seed' + 'make\\:trait' + 'make\\:view' + 'route\\:list' + 'run\\:instructions' + ) + + _describe 'adonis' subcmds +} + +compdef _adonis adonis \ No newline at end of file