Visitar URL original
NodeSecure-cli/docs/cli/cwd.md at master · Dafyh/NodeSecure-cli · GitHub
Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 1.06 KB

cwd.md

File metadata and controls

20 lines (15 loc) · 1.06 KB

📂 Command cwd

The cwd command scans the project in the current working directory using the package.json and package-lock.json files, and stores the analysis results in a JSON file. You can then share this JSON or explore it in the WebUI using the open command.

📜 Syntax

$ nsecure cwd [options]

⚙️ Available Options

Name Shortcut Default Value Description
--nolock -n false Do not use a lock file (package-lock.json or yarn.lock) for the analysis.
--full -f false Perform a full analysis of the project, including all dependencies.
--depth -d Infinity Maximum tree depth to scan.
--silent false Suppress console output, making execution silent.
--output -o nsecure-result Specify the output file for the results.
--vulnerabilityStrategy -s github-advisory Strategy used to fetch package vulnerabilities (see Vulnera available strategy).