Closed niedbalski closed 10 years ago
$ juju get-grep mysql query-cache-type {'default': True, 'description': 'Query cache is usually a good idea, but can hurt concurrency. Valid values are "OFF", "ON", or "DEMAND". http://dev.mysql.com/doc/refman/5.1/en/server-system-variables.html#sysvar_query_cache_type', 'type': 'string', 'value': 'OFF'}
The "get-grep" name made me think that the plugin would accept regexes but it doesn't appear to. Maybe call it "get-filter", "get-entry" or even "get-one"?
Well , we can extend it to look more like a proper grep, actually this was a simple hack , but definitively needs a improvement.
On Monday, July 28, 2014, Menno Smits notifications@github.com wrote:
The "get-grep" name made me think that the plugin would accept regexes but it doesn't appear to. Maybe call it "get-filter", "get-entry" or even "get-one"?
— Reply to this email directly or view it on GitHub https://github.com/juju/plugins/pull/16#issuecomment-50288871.
Leave it as get-filter