Subject

Command Help

Use `bpcli help` and the command list for daily CLI work.

Open help

Run bpcli help whenever you need the full command list, flags, examples or command-specific notes.

bpcli help

On Windows, if you are running the standalone binary from the current folder, use:

.\bpcli.exe help

Commands from help

CommandAliasPurpose
auditaAudit project dependencies for known security vulnerabilities.
versionvPrint the current bpcli version and package metadata.
installiInstall dependencies through Boilerplate storage and fallback registries.
installationMethodimChoose the default Gradle installation method in local config.
initInitialize a new project from built-in templates.
runRun a project script, Java build task or executable.
scriptListslList runnable project scripts or global BPCLI commands.
deptreedtDisplay the dependency tree from the current .bplock file.
whyExplain why a dependency exists in the current project.
upgradeUpgrade or downgrade BPCLI.
loginAuthenticate BPCLI with Boilerplate.
logoutRemove the saved Boilerplate login token.
searchsSearch Boilerplate Store packages.
setupInstall or activate supported runtimes and build tools.
updateuUpdate project dependencies through the BPCLI install flow.
productInfopiFetch product information by package name or internal product ID.
publishpPrepare a Boilerplate publish URL for the current Git project.
removerRemove dependencies from the project or global Boilerplate libs directory.
isLoggedIniliReport whether BPCLI has an authenticated Boilerplate session.
getUserInfoguiFetch the current authenticated user profile.
userComponentsucList components available to the authenticated user.
langslList languages supported by BPCLI workflows.
packageManagerpmList package managers supported by BPCLI.
configcRead or update local BPCLI configuration.
downloadDownload Boilerplate package archives without installing them.

Command input and output notes

Command familyReadsWrites or returns
AuthToken, browser login or saved sessionSaved session state, user profile or login status.
Install/update/removeProject manifest, lockfile, package names and package managerUpdated dependencies, lockfiles and install logs.
Search/product infoStore query text, package name or product IDProduct metadata, versions, pricing and availability.
Audit/deptree/whyManifest and lockfile dataDependency tree, vulnerability or dependency explanation output.
Init/setup/runTemplate, runtime, package manager or script nameProject files, tool setup results or script output.
PublishGit repository metadata and current project statePublish URL or handoff metadata for Store publishing.

Use command-specific help when arguments are unclear. Prefer explicit package names, output directories and JSON flags in scripts so automation does not depend on interactive prompts.

Common examples

bpcli login
bpcli login --token "$BPCLI_TOKEN"
bpcli search --text react
bpcli install express lodash
bpcli download react react-dom --output ./downloads
bpcli audit --lang ts --pm npm --json
bpcli init --template typescript --name demo-app --dir ./demo-app
bpcli publish --private
bpcli config --set minimum-age 14d

Formatting output for automation

When --json is available, pipe JSON output to your CI parser instead of scraping terminal text. For example, bpcli audit --json should be easier to gate in CI than a colored text report. For commands that download or modify files, treat the exit code plus resulting file changes as the output contract.