@@ -74,24 +74,23 @@ Clean and actionable reports are achieved when non-production code such as tests
74
74
75
75
```
76
76
❯ npx exportman
77
- exportman --config ./config.js[on] [options]
77
+ exportman [options]
78
78
79
79
Options:
80
- --config [file] Path of configuration file (JS or JSON),
81
- requires `entryFiles: []` and `filePatterns: []`
82
- --cwd Working directory (default: current working directory)
83
- --only Report only listed issue group(s): files, exports, types, members, duplicates
84
- --maxIssues Maximum number of unused files until non-zero exit code (default: 1)
85
- --exclude Exclude issue group(s) from report: files, exports, types, members, duplicates
86
- --noProgress Don't show dynamic progress updates
87
- --reporter Select reporter: symbols, compact (default: symbols)
88
- --jsdoc Enable JSDoc parsing, with options: public (default: disabled)
80
+ -c/--config [file] Configuration file path (default: ./exportman.json or package.json#exportman)
81
+ --cwd Working directory (default: current working directory)
82
+ --max-issues Maximum number of unreferenced files until non-zero exit code (default: 1)
83
+ --only Report only listed issue group(s): files, exports, types, members, duplicates
84
+ --exclude Exclude issue group(s) from report: files, exports, types, members, duplicates
85
+ --no-progress Don't show dynamic progress updates
86
+ --reporter Select reporter: symbols, compact (default: symbols)
87
+ --jsdoc Enable JSDoc parsing, with options: public (default: disabled)
89
88
90
89
Examples:
91
90
92
- $ exportman --config ./exportman.json
93
- $ exportman --config ./exportman.json -- cwd packages/client --reporter compact --jsdoc public
94
- $ exportman --config ./exportman.js --only files,duplicates
91
+ $ exportman
92
+ $ exportman --cwd packages/client --only files
93
+ $ exportman -c ./exportman.js --reporter compact --jsdoc public
95
94
96
95
More info: https://github.com/webpro/exportman
97
96
```
0 commit comments