search_blame

Crates.iosearch_blame
lib.rssearch_blame
version0.2.0
sourcesrc
created_at2022-07-23 17:18:56.821702
updated_at2023-01-05 19:07:57.34711
descriptionA cli tool that provides search results in a git repo using the author as a search key
homepage
repositoryhttps://github.com/CalvoM/search_blame
max_upload_size
id631597
size47,747
d1r3ct0r (CalvoM)

documentation

README

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

Commit count: 32

cargo fmt