-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
featureNew featureNew feature
Milestone
Description
Description
Improve the search command to support querying by multiple criteria and applying filters.
Proposed Features
Search Query
- Search across multiple fields: ID, name, features, and tags
- Single search string matches any of these fields
Filter Flags
--features/-f: Filter by features (comma-separated list)- Example:
--features traefik,swarm
- Example:
--tags/-t: Filter by tags (comma-separated list)- Example:
--tags webserver,proxy
- Example:
--schema: Filter by schema version (comma-separated)- Example:
--schema 1.0,1.1
- Example:
--version: Filter by template version--library: Filter by library source (comma-separated)- Example:
--library local,library2
- Example:
Example Usage
# Search for templates with traefik feature in schema 1.1
boilerplates compose search nginx --features traefik --schema 1.1
# Search across all fields with multiple filters
boilerplates compose search web --features traefik,swarm --tags production --library defaultImplementation Notes
- Filters should work as AND conditions (all must match)
- Comma-separated values within a filter work as OR (any can match)
- Search query matches against ID, name, features, or tags fields
Metadata
Metadata
Assignees
Labels
featureNew featureNew feature