Skip to main content

Module cli

Module cli 

Source

Structs§

AuditCommand
Scan the project’s lockfile for known-malicious or vulnerable package versions. Delegates to the ecosystem’s native audit tool (npm audit, cargo audit, etc.) and runs on the host (not in a sandbox) so it can reach advisory databases.
BootstrapCommand
Generate the package lockfile inside the sandbox without running install scripts. Requires package_manager: to be configured in sbox.yaml. After bootstrap, run sbox run -- <rebuild-command> to execute scripts with network off.
CleanCommand
Cli
CompletionsCommand
Print shell completion script to stdout. Pipe the output to your shell’s completion directory, e.g.: sbox completions bash > /etc/bash_completion.d/sbox sbox completions zsh > ~/.zsh/completions/_sbox
DoctorCommand
ExecCommand
InitCommand
PlanCommand
RunCommand
ShellCommand
ShimCommand

Enums§

CliBackendKind
CliExecutionMode
Commands

Functions§

generate_completions