1.1.0 • Published 7 years ago
diffkit v1.1.0
diffkit-cli
commands
diffkit init: create a new diffkit configurationdiffkit quest: add a new quest. Quests are goals for your code.diffkit count: see the current values for all quests.diffkit cinch: Change the baselines to strictest passable valuable for the code.diffkit check: Same ascount, but it exits with a code of 1 if the counts aren't good enough for the baselines.
extended diffkit count usage:
- use
diffkit --checkto have the process fail when a count is below a baseline - use
DIFFKIT_API_KEY=[your api key] diffkit --recordto record counts to diffkit.com.
using an alernative configuration file
Specify it with the --config flag. For a config named filename.json,
diffkit [command] --config=filename.json
example searches
- count all javascript files:
git ls-files "*.js" | wc -l - count all instances of the string TODO:
git grep TODO | wc -l
Development
The development README is here.