4 releases (2 breaking)
0.2.0 | Jan 5, 2023 |
---|---|
0.1.1 | Jan 4, 2023 |
0.1.0 | Dec 29, 2022 |
0.0.1 | Jul 23, 2022 |
#46 in #author
14KB
269 lines
Search Blame
This is a cli tool that can perform text search and git blame at the same time.
Functionality
- Perform search of text in files.
- Perform git blame for lines in a file.
- Combine the two parts above to perform search and filtering using git names.
How to use it
search_blame --help
USAGE:
search_blame [OPTIONS] --files <FILES> --text <TEXT>
OPTIONS:
--blame <BLAME> Name of the person to blame (Optional). If not provided, it uses the
current user name
--files <FILES> Path to the file(s) we search in.
-h, --help Print help information
--root <ROOT> Directory of the git root. This should point to a git repo root
directory.
--text <TEXT> Content to search in the files
-V, --version Print version information
Dependencies
~20–30MB
~566K SLoC