promptgarten ๐ŸŒฑ

Command reference ยท Cursor CLI

agent help [command]

Shows help for the CLI or for a specific command.

agent help [command] is a terminal subcommand and is called directly in the shell, not within a running session. Without an argument, it shows general help for the CLI; with a command name as an argument (e.g. agent help worker), it shows detailed help specifically for that subcommand, including its subcommands and options. Content-wise this matches the global flag -h or --help, which can be appended directly to any command (e.g. agent worker --help) and delivers the same help immediately without a separate call. In interactive mode, /help ("Show help. Use /help <command> for command details.") is the direct slash counterpart for the same task within a running session. agent help [command] is thus the terminal variant for use outside a session, for example during initial setup or in scripts.

โœ… WHEN TO USE IT?

Look up a subcommand's options

agent help worker, to see all subcommands and flags of worker

General help without an argument

Run agent help to get an overview of all available commands

โ›” WHEN NOT TO?

Help for the command you just typed, directly

agent help command means a separate, additional call instead of directly on the command.

Better: Append -h or --help directly to the command, e.g. agent worker --help

SOURCES

MORE COMMANDS ยท Cursor CLI

agent mcp login <identifier>agent mcp listagent mcp list-tools <identifier>agent mcp enable <identifier>agent mcp disable <identifier>agent sandbox enableagent sandbox disableagent sandbox resetagent sandbox run <cmd> [args...]agent sandbox help [command]agent worker startagent worker debug

All commands ยท Cursor CLI โ†’

Share:๐•in๐Ÿ’ฌ