jednano/codepainter

Better documented options

Closed this issue · 3 comments

Running > codepaint infer --help only covers the following options:

Options:
-h, --help     output help information
-d, --details  give a detailed report with trend scores

But in the examples some other options are used like '-e' or '-m' which are not documented anywhere.

Examples:

$ codepaint infer "**/*.js"
$ codepaint infer "**/*view.js" "**/*model.js"
$ codepaint infer %s "**/*.js" -m
$ codepaint infer %s "**/*.js" -e inferred.json

Yeah, good point. I don't even know what these flags do. I'll have to look into it.

Actually, I'm thinking they don't do anything; thus, should be removed. The documentation is auto-generated through gitlike-cli, so if it's not there, it's not being used. They should be remove from the docs as well.

Thanks for bringing this up.