File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed
Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -29,12 +29,22 @@ export default commander
2929 . option ( "--max [max]" , "Exclude results above <max>" , parseInt )
3030 . on ( "--help" , ( ) => {
3131 console . log ( ) ;
32- console . log ( " Examples:" ) ;
32+ console . log (
33+ " Examples (using the source code instead of npm published versions):"
34+ ) ;
3335 console . log ( ) ;
34- console . log ( " $ index.ts /path/to/git/directory" ) ;
35- console . log ( " $ index.ts /path/to/git/directory --limit 3" ) ;
36- console . log ( " $ index.ts /path/to/git/directory --details" ) ;
37- console . log ( " $ index.ts /path/to/git/directory --min 10 --max 50" ) ;
36+ console . log (
37+ " $ npm run build && node dist/index.js /path/to/git/directory"
38+ ) ;
39+ console . log (
40+ " $ npm run build && node dist/index.js /path/to/git/directory --limit 3"
41+ ) ;
42+ console . log (
43+ " $ npm run build && node dist/index.js /path/to/git/directory --details"
44+ ) ;
45+ console . log (
46+ " $ npx code-complexity /path/to/git/directory --min 10 --max 50"
47+ ) ;
3848 console . log ( ) ;
3949 } )
4050 . parse ( process . argv ) ;
You can’t perform that action at this time.
0 commit comments