1.0.1 • Published 9 years ago
discod v1.0.1
DISCOD
discodwhich is short for DISCO(the name of my team) detective is aclitool when given a list ofgitbranches 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 ripgrepYou are now ready to install discod from npm
$ npm install -g discodUsage
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 editorLicense
MIT © Tekeste