YS-L / csvlens

Command line csv viewer
MIT License
2.47k stars 41 forks source link

Generalized filters #54

Open yogeshkumar98103 opened 7 months ago

yogeshkumar98103 commented 7 months ago

As of now we can filter rows only through regex. Support for a domain specific language for filtering would be nice

Example of filters can be :-

  1. HP > 10 - filter rows where value of column HP is greater than 10
  2. Name starts_with "Bee" - filter rows where column Name starts with Bee
  3. Type1 == "Bug" and Type2 == "Poison" - combine multiple conditions using and/or