The Laravel Artisan Cheatsheet now has an API. Learn more.

_complete

Internal command to provide shell completion suggestions

Options

  • shell - The shell type ("bash") Required
  • input - An array of input tokens (e.g. COMP_WORDS or argv) Required
  • current - The index of the "input" array that the cursor is in (e.g. COMP_CWORD) Required
  • symfony - The version of the completion script Required
php artisan _complete [-s|--shell SHELL] [-i|--input INPUT] [-c|--current CURRENT] [-S|--symfony SYMFONY]