mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-10 02:24:35 +08:00
feat(cli): add --debug/-d flag for CLI debugging
- Add -d/--debug option to ccw cli command - Enable debug logging at runtime when flag is set - Change DEBUG check from const to function for runtime evaluation - Support debug mode for both exec and status subcommands - Update help text to include --debug option 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -171,6 +171,7 @@ export function run(argv: string[]): void {
|
||||
.option('-f, --file <file>', 'Read prompt from file (best for multi-line prompts)')
|
||||
.option('--tool <tool>', 'CLI tool to use', 'gemini')
|
||||
.option('--mode <mode>', 'Execution mode: analysis, write, auto', 'analysis')
|
||||
.option('-d, --debug', 'Enable debug logging for troubleshooting')
|
||||
.option('--model <model>', 'Model override')
|
||||
.option('--cd <path>', 'Working directory')
|
||||
.option('--includeDirs <dirs>', 'Additional directories (--include-directories for gemini/qwen, --add-dir for codex/claude)')
|
||||
|
||||
Reference in New Issue
Block a user