laravel / passport

Laravel Passport provides OAuth2 server support to Laravel.
https://laravel.com/docs/passport
MIT License
3.25k stars 780 forks source link

Don't ignore `force` option in InstallCommand #1736

Closed MrKrisKrisu closed 2 months ago

MrKrisKrisu commented 2 months ago

The new Interactions from #1724 break some console interactions by scripts - this change should fix this while reusing the --force option.

It may be discussed whether to include --no-interaction here too, as this is mentioned in the --help section of this command.

Usage:
  passport:install [options]

Options:
      ...
      --force            Overwrite keys they already exist
      ...
      -n, --no-interaction   Do not ask any interactive question
      ...
taylorotwell commented 2 months ago

Doesn't --no-interaction do exactly what you want?