Skip to content

Commit d5b987c

Browse files
committed
Update README.md to include new command-line options for value binding analysis
- Added descriptions for `-vb` and `--value-binding` options to count usage of a value binding across the project. - Included details for `-vl` and `--value-line` options to specify the line number of the value binding for disambiguation.
1 parent eeb421f commit d5b987c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ rescriptdep [options] files_or_dirs
3939
# --no-cache : Skip using cache
4040
# --clear-cache : Clear the cache before analyzing
4141
# -nd, --no-dependents : Find modules that have no dependents (not imported by any other modules)
42+
# -vb, --value-binding <name> : Count usage of a value binding (by name) across the project (in the module itself and all dependents; requires -m)
43+
# -vl, --value-line <line> : Line number of the value binding (1-based, for disambiguation when multiple bindings have the same name; use with -vb)
4244
```
4345

4446
## Development

0 commit comments

Comments
 (0)