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

Sort available aliases alphabetically #408

Closed
nicwortel opened this issue Jun 15, 2023 · 1 comment · Fixed by #409
Closed

Sort available aliases alphabetically #408

nicwortel opened this issue Jun 15, 2023 · 1 comment · Fixed by #409

Comments

@nicwortel
Copy link
Contributor

Running phive list currently returns a list of 50 available aliases. Because of the amount of aliases, it can be slightly difficult to find a specific one.

I propose displaying them in alphabetical order, so it can be easier to find a specific one and so that related phars will be grouped together (for example all the composer-* ones will be grouped together).

If you agree with this improvement, I'd be happy to submit a PR.

@theseer
Copy link
Member

theseer commented Jun 15, 2023

I like the idea :)

nicwortel added a commit to nicwortel/phive that referenced this issue Jun 15, 2023
This will make it easier to find a specific alias in the list, and groups
related aliases together.

Fixes phar-io#408.
nicwortel added a commit to nicwortel/phive that referenced this issue Jun 15, 2023
This will make it easier to find a specific alias in the list, and groups
related aliases together.

Fixes phar-io#408.
theseer pushed a commit that referenced this issue Jun 15, 2023
This will make it easier to find a specific alias in the list, and groups
related aliases together.

Fixes #408.
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 a pull request may close this issue.

2 participants