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

CLI: output is not sorted #5

Open
ljharb opened this issue Jan 25, 2020 · 4 comments
Open

CLI: output is not sorted #5

ljharb opened this issue Jan 25, 2020 · 4 comments

Comments

@ljharb
Copy link

ljharb commented Jan 25, 2020

npx npmtotal --author=ljharb does not sort the output by package name, or by downloads descending or ascending. I'd expect it to be sorted by one or the other, with a command line option for the alternatives.

@maddhruv
Copy link
Owner

@ljharb 1.4.0 is released with sorted packages

@ljharb
Copy link
Author

ljharb commented Jan 27, 2020

Thanks! What about options to control sorting?

@maddhruv
Copy link
Owner

maddhruv commented Jan 27, 2020

I don't see a point where, when I have the feature of getting a sorted list and I wont desire an unsorted one, just mostly it is adding a little complexity in sorting things up.
Also, the option makes more sense in, as a part of module and not for CLI

@ljharb
Copy link
Author

ljharb commented Jan 27, 2020

I’d expect any option in the api to be available on the cli.

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

No branches or pull requests

2 participants