-
Notifications
You must be signed in to change notification settings - Fork 100
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
add: fpm search #1054
base: main
Are you sure you want to change the base?
add: fpm search #1054
Conversation
' --license License type to filter results.', & | ||
' --limit Maximum number of results to return.', & | ||
' --sort-by Field to sort results by (e.g., name).', & | ||
' --sort Sort order (asc for ascending, desc for descending).', & |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be extremely beneficial to add a few examples of search commands that can be used to search for packages. That gives the reader a better idea of what the command can do, how it works, and how it is integrated with either a local registry or the online registry.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will add some sample queries for each parameter so that it is easy to refer.
Let's get this merged @henilp105, is there any more tasks you plan of adding? |
Sure @perazz , Let's get this merged in a week, I will add some tests and clean UI by then. |
This PR intends to add the search and discovery of fpm installed and fpm - registry packages directly from cli. this command supports globbing for package name, version, license, namespace. the similar functionality has been patched at the registry repo. (fortran-lang/registry#81). paging is not used in local registry due to multiple search queries.
This is the syntax of the new fpm search functionality:
Parameters:
Tasks left
Thanks and Regards,
Henil
CC @certik @awvwgk @perazz @arteevraina