Interface: CliCommandConfig
Defined in: types/cli.ts:63
Configuration for a shell command to execute. Used by buildLaunchCommand, buildResumeCommand, and other command builders.
Example
// Launch a new Claude session
{
command: 'claude',
args: ['--model', 'opus', '--system-prompt', 'You are a helpful assistant.'],
env: { CLAUDE_CONFIG_DIR: '/path/to/config' },
cwd: '/path/to/project'
}
Properties
args
args:
string[]
Defined in: types/cli.ts:68
Command-line arguments
command
command:
string
Defined in: types/cli.ts:65
The CLI command or absolute path to the executable
cwd?
optionalcwd:string
Defined in: types/cli.ts:74
Working directory for the command
env?
optionalenv:Record<string,string>
Defined in: types/cli.ts:71
Additional environment variables to set (merged with process env)