Files
claude-howto/openspec/changes/add-cli-lesson/tasks.md
T
Luong NGUYEN eb72f002ef docs: Add CLI Reference lesson (10-cli)
Add comprehensive CLI reference documentation covering:
- All CLI commands and flags with examples
- Model configuration, system prompts, permissions
- Output formats (text, JSON, stream-JSON)
- Session management and MCP configuration
- 7 high-value use cases: CI/CD, piping, batch processing,
  multi-session workflows, custom agents, security, JSON API

Update README.md and LEARNING-ROADMAP.md with CLI lesson
navigation and learning path integration.
2025-12-24 15:42:24 +01:00

51 lines
1.8 KiB
Markdown

# Tasks: Add CLI Reference Lesson
## 1. Create CLI Lesson Content
- [x] 1.1 Create `10-cli/` directory
- [x] 1.2 Create `10-cli/README.md` with:
- Overview section with architecture diagram
- CLI commands table (claude, claude "query", claude -p, etc.)
- Core flags section with examples
- Model & configuration flags
- System prompt customization section
- Tool & permission management section
- Output & format options
- Workspace & directory flags
- MCP configuration options
- Session management commands
- Advanced features (chrome, ide, debug)
- Agents flag format with JSON examples
- High-value use cases section with practical examples
- Installation/usage quick reference
- Troubleshooting section
- Related concepts links
## 2. Add Use Case Examples
- [x] 2.1 CI/CD integration example (GitHub Actions, Jenkins)
- [x] 2.2 Script piping example (log analysis, code processing)
- [x] 2.3 Multi-session workflow example
- [x] 2.4 Custom agent configuration example
- [x] 2.5 Batch processing example
- [x] 2.6 Security-conscious development example
- [x] 2.7 JSON API integration example
## 3. Update Root Documentation
- [x] 3.1 Add CLI to Quick Navigation table in `README.md`
- [x] 3.2 Add CLI to Learning Path table in `README.md`
- [x] 3.3 Add CLI section (section 10) in `README.md`
- [x] 3.4 Add CLI to Feature Comparison table
- [x] 3.5 Add CLI to Use Case Matrix
- [x] 3.6 Add CLI to Directory Structure tree
- [x] 3.7 Add CLI to Installation Quick Reference
- [x] 3.8 Update `LEARNING-ROADMAP.md` with CLI lesson
## 4. Quality Assurance
- [x] 4.1 Verify all code examples are valid and tested
- [x] 4.2 Ensure consistent style with other lessons (mermaid diagrams, tables)
- [x] 4.3 Check all internal links work correctly
- [x] 4.4 Review against official documentation for accuracy