Add aliases Dpcumentation

This commit is contained in:
Erwan ROUSSEL 2020-11-09 10:50:43 +01:00 committed by GitHub
parent aa19a4dc19
commit db95492c00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,56 @@
# Adonis
This plugin provides completion for [AdonisJs](https://adonisjs.com/).
This plugin provides completion and aliases for [AdonisJs](https://adonisjs.com/).
To use it add adonis to the plugins array in your zshrc file.
```bash
plugins=(... adonis)
```
## Development
| Alias | Description |
|:-:|:-:|
| `ads` | `adonis serve --dev` |
| `adrepl` | `adonis repl` |
| `adinstall` | `adonis install` |
| `adt` | `adonis test` |
| `adaddon` | `adonis addon` |
## Migration
| Alias | Description |
|:-:|:-:|
| `admt` | `adonis migration:run` |
| `admtrt` | `adonis migration:reset` |
| `admtrf` | `adonis migration:refresh` |
| `admtrfs` | `adonis migration:refresh --seed` |
| `admtr` | `adonis migration:rollback` |
| `admts` | `adonis migration:status` |
## Makers
| Alias | Description |
|:-:|:-:|
| `admcm` | `adonis make:command` |
| `admc` | `adonis make:controller` |
| `admh` | `adonis make:ehandler` |
| `adme` | `adonis make:exception` |
| `admhk` | `adonis make:hook` |
| `adml` | `adonis make:listener` |
| `admmw` | `adonis make:middleware` |
| `admmt` | `adonis make:migration` |
| `admm` | `adonis make:model` |
| `admp` | `adonis make:provider` |
| `adms` | `adonis make:seed` |
| `admt` | `adonis make:test` |
| `admtr` | `adonis make:trait` |
| `admv` | `adonis make:validator` |
| `admvw` | `adonis make:view` |
## Route
| Alias | Description |
|:-:|:-:|
| `adroute` | `adonis route:list` |