fortran-lang / fpm

Fortran Package Manager (fpm)
https://fpm.fortran-lang.org
MIT License
844 stars 95 forks source link

add: fpm search #1054

Open henilp105 opened 1 week ago

henilp105 commented 1 week ago

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. (https://github.com/fortran-lang/registry/pull/81). paging is not used in local registry due to multiple search queries.

This is the syntax of the new fpm search functionality:

fpm search --query q* --page 1 --registry URL --namespace n* --package p* --package_version v* --license l* --limit 10 --sort-by [name] --sort [asc/desc]

Parameters:

Tasks left

Thanks and Regards, Henil

CC @certik @awvwgk @perazz @arteevraina