janeklb / gh-search

GitHub code search with full text regex filtering, from your cli.
42 stars 3 forks source link

Simplify usage of --content-filter #37

Open janeklb opened 3 years ago

janeklb commented 3 years ago

I often use the --content-filter/-c flag with the same string that get passed into the search query. For example, if im looking for direct hits on /path/to/thing i would do:

gh-search -c /path/to/thing /path/to/thing

This could be shortened to something like

gh-search -C /path/to/thing