Skip to main content

workspace help

The workspace CLI displays help when no command is provided, or when help, --help, or -h is passed. The help content comes from printUsage() in src/workspace.ts in the CLI repository.

Command Format

pnpm exec workflow-code workspace help
pnpm exec workflow-code workspace --help
pnpm exec workflow-code workspace -h
pnpm exec workflow-code workspace

Output content

ContentDescription
UsageBasic invocation format for workspace CLI.
Commandslogin, logout, status, health, pack, upload, download, publish, run, debug-node, versions.
OptionsThe default source for --server and --token.

Behavior

SituationResult
Command not passedOutput help.
The command is help / --help / -hOutput help.
Unknown commandOutput error message with exit code 1.

Next step

GoalDocument
Save login statuslogin
Package and uploadpack, upload
Remote Runrun
Single-node debuggingdebug-node