Skip to content

CalvoM/search_blame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Text search + git blame cli tool

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages