Skip to content

Commit bac65e4

Browse files
committed
docs: add missing parameters to README
1 parent 8a209a3 commit bac65e4

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const usages: PackageUsage[] = getPackagesUsages({
2727
packages: ['react'],
2828
fileGlobs: `**/**.ts`,
2929
packageJsonCWD: './package.json',
30+
analyzeImportUsages: false,
3031
});
3132

3233
console.log(usages);
@@ -83,11 +84,12 @@ export type PackageUsage = {
8384

8485
## CLI usage
8586

86-
| Options | Description | Example |
87-
| ------------------------ | ------------------------------------ | ---------------------------------------------- |
88-
| -p, --packages | Packages to analyze | -p vue,vuex or --packages="react,redux" |
89-
| -f, --file-globs | Files to analyze based on file globs | -f "_.(ts\|tsx)" or --file-globs="_.(js\|jsx)" |
90-
| -cwd, --package-json-CWD | Directory to start from | -cwd "/path/to/start/from" |
87+
| Options | Description | Example |
88+
| --------------------------- | ------------------------------------- | ---------------------------------------------- |
89+
| -p, --packages | Packages to analyze | -p vue,vuex or --packages="react,redux" |
90+
| -f, --file-globs | Files to analyze based on file globs | -f "_.(ts\|tsx)" or --file-globs="_.(js\|jsx)" |
91+
| -u, --analyze-import-usages | (Experimental) Analyzes import usages | -u |
92+
| -cwd, --package-json-CWD | Directory to start from | -cwd "/path/to/start/from" |
9193

9294
### npx
9395

0 commit comments

Comments
 (0)