What problem does this solve?
Various formae commands support the --query flag, for example destroy, status and others. The current implementation does not support wildcard characters (*) which are often useful for querying groups of resources. For example a user who wants to look at all their ApiGateway resources might, want to run `formae inventory --query "type:AWS::ApiGateway*".
Proposed solution
We support a subset of the Bleve query langauge. Bleve does support wildcard characters. We would need to correctly parse them from the query and translate them to the appropriate SQLite and PostgreSQL queries.
What problem does this solve?
Various formae commands support the
--queryflag, for exampledestroy,statusand others. The current implementation does not support wildcard characters (*) which are often useful for querying groups of resources. For example a user who wants to look at all theirApiGatewayresources might, want to run `formae inventory --query "type:AWS::ApiGateway*".Proposed solution
We support a subset of the Bleve query langauge. Bleve does support wildcard characters. We would need to correctly parse them from the query and translate them to the appropriate SQLite and PostgreSQL queries.