Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add a way to search for add-ons by keyword #7491

@GuySartorelli

Description

@GuySartorelli

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem?

Often if I'm looking for an add-on for a specific service, I have to grep to find them (e.g. ddev add-on list --all | grep memcached) because most of the add-ons aren't related to what I'm looking for.

Describe your solution

Allow an argument (or multiple arguments) to the ddev add-on list command for search terms.
If any of the search terms is found in the name or description of an add-on, display it. Don't display unrelated add-ons.
If no add-ons have the search term(s), display a helpful message like "no repositories found with those search terms"

For example I could use ddev add-on list --all memcached to find any add-ons related to memcached. Or ddev add-on list --installed memcached to list any installed add-ons which are related to memcached.

Describe alternatives

A new ddev add-on search command could be added - though the only reason I can think for doing it this way is if you want to reserve arguments to the list command for some future functionality.

There is also the registry online - but I don't wanna go fish out the URL for that and use a browser-based solution when I'm already in my terminal working away.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions