kucherenko / blamer

blamer is a tool for getting information about author of code from version control system
MIT License
7 stars 8 forks source link

Add CLI args option to constructor and blameByFile method #3

Closed un-def closed 7 years ago

un-def commented 7 years ago
let blamer = new Blamer('git', '-w -M');
blamer.blameByFile(file)            // git blame -w -M
blamer.blameByFile(file, '-M -C')   // git blame -M -C
blamer.blameByFile(file, '')        // git blame
blamer = new Blamer('git');
blamer.blameByFile(file)            // git blame -w

This PR closes Issue #2.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.3%) to 96.364% when pulling 397a920c0f6fc925a80c6199cb723d654ae27393 on un-def:args-option into b90fbed26aabcc8879bf22cf5dc74670b6b7ff86 on kucherenko:master.

kucherenko commented 7 years ago

thank you, PR merged and available at blamer@0.1.13