Below is a full list of CLI commands.
General Options
The below options can be run with any command.
napi [command]
Options:
--help Show help [boolean]
--version Show version number [boolean]
--workdir, --wd working directory [string] [default: "/your/current/directory"]
napi init
The init
command runs in the current directory by default and outputs a .napirc
file. These files are used so the tool can understand your codebases.
Options
The init command takes no specific arguments beyond the general options.
Basic Execution
napi init
initialize a NanoAPI project
Examples
napi init # Run in the current directory
napi init --help # Show command info
napi init --workdir=/path/to/your/project # Run init in a specific directory
napi audit view
The audit view
command spins up the Audit Tool.
Options
The init command takes no specific arguments beyond the general options.
Basic Execution
napi audit view
Audit your program with the UI
Examples
napi audit view # Run in the current directory
napi audit view --help # Show command info
napi audit view --workdir=/path/to/your/project # Run the audit tool in a specific directory