Scan a Node.js codebase on a local machine and receive a report of potential issues.
Commands
Name | Description |
---|
preflight | Scan a Node.js codebase to identify issues that could prevent application code from building, deploying, or working as expected |
Options
Argument | Description |
---|
-d , --debug | Activate debug output |
-h , --help | Output the help for the (sub)command |
-v , --version | Output the version number |
Examples
# Scan a Node.js codebase on a local machine with settings specific to a VIP Platform environment
$ vip @mysite.develop validate preflight
# Scan a Node.js codebase on a specific location
$ vip @mysite.develop validate preflight --path /Users/example-user/codebase
Global Options
Argument | Description |
---|
-a , --app=<app> | Specify the app |
-d , --debug | Activate debug output |
-e , --env=<env> | Specify the environment |
-h , --help | Output the help for the (sub)command |
-v , --version | Output the version number |
-y , --yes | Run the command in production without a confirmation prompt |
Last updated: November 11, 2022