Skip to content

Commit 75b189b

Browse files
kraenhansenclaude
andcommitted
docs: document link --fail-on-error (#453)
Left out when #453 landed on main, where the link docs didn't exist yet. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 parent c11fd3d commit 75b189b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎docs/CLI.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ Auto-links the Node-API modules found among the app's dependencies for one or mo
5656
- `--android` — Link Android modules.
5757
- `--apple` — Link Apple modules.
5858
- `--prune` — Delete previously vendored modules that are no longer auto-linked. Defaults to `true`.
59+
- `--fail-on-error` — Fail with the original package-resolution error instead of skipping dependencies that cannot be resolved. Defaults to `false`.
5960
- `--package-name <strategy>` — Controls how a dependency's package name is transformed into a library name. One of `strip`, `keep` or `omit` (see [Library naming](#library-naming) below). Defaults to `strip`, or the `NODE_API_PACKAGE_NAME` environment variable if set.
6061
- `--path-suffix <strategy>` — Controls how the path of the addon inside a package is transformed into a library name. One of `strip`, `keep` or `omit` (see [Library naming](#library-naming) below). Defaults to `strip`, or the `NODE_API_PATH_SUFFIX` environment variable if set.
6162

0 commit comments

Comments
 (0)