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:
catlog22
2025-12-29 23:26:48 +08:00
parent 6efc499c77
commit f566b8aabc
5 changed files with 27 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "claude-code-workflow",
"version": "6.3.15",
"version": "6.3.16",
"description": "JSON-driven multi-agent development framework with intelligent CLI orchestration (Gemini/Qwen/Codex), context-first architecture, and automated workflow execution",
"type": "module",
"main": "ccw/src/index.js",