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

RFE: CLI support for sorting package list query #184

Open
nickbroon opened this issue Dec 23, 2024 · 1 comment
Open

RFE: CLI support for sorting package list query #184

nickbroon opened this issue Dec 23, 2024 · 1 comment

Comments

@nickbroon
Copy link

nickbroon commented Dec 23, 2024

The cloudsmith ls pkg... command does not support the sort option that the Rest API exposes https://help.cloudsmith.io/reference/packages_list, so the default of -date is always used, returning the most recent first. (See also: https://help.cloudsmith.io/docs/sorting-packages#sort-fields)

Being able to specify a different sort field (version, size, downloads, date, etc) or order (- for descending or without for ascending) would be very useful for scripting.

@BartoszBlizniak
Copy link
Collaborator

Hey @nickbroon - thank you for flagging this up, I've created a ticket for us to take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants