DefangLabs / defang

Defang CLI and sample projects. Defang is a radically simpler way for developers to develop, deploy, and debug cloud applications.
https://defang.io
MIT License
31 stars 7 forks source link

Defang Grep (interactive) #42

Closed raphaeltm closed 6 days ago

raphaeltm commented 8 months ago

It would be useful to be able to either:

defang grep <search>

or

defang tail --grep <search>

Personally I think I tend toward the latter, because I would probably be in the mental context of "I'm looking at logs, actually I need to find something more specific" before I get to grep. It might also be easier because all of the other logic that applies to tail should still make sense (i.e. specifying since, etag etc.)

lionello commented 3 months ago

In #459 we want to separate "tail" vs "query". Once these are separate, regular grep/rg do a better job at filtering.

I personally would want an interactive grep (press / to search)

lionello commented 6 days ago

Better to fix #161 and encourage | grep