discod
v1.0.1
Published
Searches through a list of git branches given a search term
Downloads
4
Readme
DISCOD
discod
which is short for DISCO(the name of my team) detective is acli
tool when given a list ofgit
branches and a search criteria will perfom a search on one branch at a time and go through all the branches in the list printing filenames and line numbers that match the search criteria.
Install
discod makes use of ripgrep
which is a search tool with more features and better perfomance than grep
.
Run the following command to install it.
$ brew install ripgrep
You are now ready to install discod
from npm
$ npm install -g discod
Usage
discod searchTerm [fileExtension]
To edit the list of git branches to search through, run the following command
discod --edit-list #this will open up a text file in your default editor
License
MIT © Tekeste