Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.8] Improve route:list command #28459

Merged
merged 2 commits into from
May 9, 2019
Merged

[5.8] Improve route:list command #28459

merged 2 commits into from
May 9, 2019

Conversation

seriquynh
Copy link
Contributor

Instead of always passing multiple "--columns" option if you need two or more columns:

$ php artisan route:list --columns=method --columns=uri --columns=name

You can optionally use the way below:

$ php artisan route:list --columns=method,uri,name
$ php artisan route:list --columns=method --columns=uri,name

This PR doesn't break the existing behaviour of the route:list command. It just supports a bit more convenient way.

@taylorotwell taylorotwell merged commit ab078e1 into laravel:5.8 May 9, 2019
@seriquynh seriquynh deleted the improve_route_list_command branch May 9, 2019 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants