From 95d72611fe3f111b845d1cfbd1fde7a2e13edde6 Mon Sep 17 00:00:00 2001 From: Jonas Elan Date: Sat, 25 Jan 2020 11:12:23 -0300 Subject: [PATCH] Added AdonisJS plugin with aliases --- plugins/adonisjs/README.md | 0 plugins/adonisjs/adonisjs.plugin.zsh | 35 ++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 plugins/adonisjs/README.md create mode 100644 plugins/adonisjs/adonisjs.plugin.zsh diff --git a/plugins/adonisjs/README.md b/plugins/adonisjs/README.md new file mode 100644 index 000000000..e69de29bb diff --git a/plugins/adonisjs/adonisjs.plugin.zsh b/plugins/adonisjs/adonisjs.plugin.zsh new file mode 100644 index 000000000..8cb561be5 --- /dev/null +++ b/plugins/adonisjs/adonisjs.plugin.zsh @@ -0,0 +1,35 @@ +# Development +alias ads='adonis serve --dev' +alias adrepl='adonis repl' +alias adinstall='adonis install' +alias adt='adonis test' +alias adaddon='adonis addon' + +# Migration +alias admt='adonis migration:run' +alias admtrt='adonis migration:reset' +alias admtrf='adonis migration:refresh' +alias admtrfs='adonis migration:refresh --seed' +alias admtr='adonis migration:rollback' +alias admts='adonis migration:status' + +# Makers +alias admcm='adonis make:command' +alias admc='adonis make:controller' +alias admh='adonis make:ehandler' +alias adme='adonis make:exception' +alias admhk='adonis make:hook' +alias adml='adonis make:listener' +alias admmw='adonis make:middleware' +alias admmt='adonis make:migration' +alias admm='adonis make:model' +alias admp='adonis make:provider' +alias adms='adonis make:seed' +alias admt='adonis make:test' +alias admtr='adonis make:trait' +alias admv='adonis make:validator' +alias admvw='adonis make:view' + + +# Route +alias adroutes='adonis route:list' \ No newline at end of file