3 # Laravel autocompletion
4 # Author: John Hamelink <john@johnhamelink.com>
6 # This plugin does the following:
7 # - Adds aliases and autocompletion for artisan
8 # - Adds aliases and autocompletion for bob
10 local curcontext="$curcontext" state line _opts _bundles ret=1
13 '*:: :->args' && ret=0
18 _values "Artisan command" \
19 'session\:install[Create a session table]' \
20 'migrate[Manage Migrations]' \
22 'route\:\:call[Call a route in the CLI]' \
23 'key\:\:generate[Generate a key]'
30 'install[Create the Laravel migration table' \
31 'make[Create a migration]' \
32 'rollback[Roll back to the last migration operation]' \
33 'reset[Roll back all migrations that have ever run]'