claude-dev-cli 0.10.1__tar.gz → 0.12.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of claude-dev-cli might be problematic. Click here for more details.

Files changed (46) hide show
  1. {claude_dev_cli-0.10.1/src/claude_dev_cli.egg-info → claude_dev_cli-0.12.0}/PKG-INFO +114 -8
  2. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/README.md +106 -7
  3. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/pyproject.toml +9 -1
  4. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/src/claude_dev_cli/__init__.py +1 -1
  5. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/src/claude_dev_cli/cli.py +617 -53
  6. claude_dev_cli-0.12.0/src/claude_dev_cli/input_sources.py +231 -0
  7. claude_dev_cli-0.12.0/src/claude_dev_cli/path_utils.py +174 -0
  8. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0/src/claude_dev_cli.egg-info}/PKG-INFO +114 -8
  9. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/src/claude_dev_cli.egg-info/SOURCES.txt +4 -0
  10. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/src/claude_dev_cli.egg-info/requires.txt +8 -0
  11. claude_dev_cli-0.12.0/tests/test_input_sources.py +225 -0
  12. claude_dev_cli-0.12.0/tests/test_path_utils.py +299 -0
  13. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/LICENSE +0 -0
  14. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/MANIFEST.in +0 -0
  15. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/setup.cfg +0 -0
  16. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/src/claude_dev_cli/commands.py +0 -0
  17. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/src/claude_dev_cli/config.py +0 -0
  18. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/src/claude_dev_cli/context.py +0 -0
  19. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/src/claude_dev_cli/core.py +0 -0
  20. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/src/claude_dev_cli/history.py +0 -0
  21. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/src/claude_dev_cli/plugins/__init__.py +0 -0
  22. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/src/claude_dev_cli/plugins/base.py +0 -0
  23. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/src/claude_dev_cli/plugins/diff_editor/__init__.py +0 -0
  24. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/src/claude_dev_cli/plugins/diff_editor/plugin.py +0 -0
  25. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/src/claude_dev_cli/plugins/diff_editor/viewer.py +0 -0
  26. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/src/claude_dev_cli/secure_storage.py +0 -0
  27. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/src/claude_dev_cli/template_manager.py +0 -0
  28. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/src/claude_dev_cli/templates.py +0 -0
  29. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/src/claude_dev_cli/toon_utils.py +0 -0
  30. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/src/claude_dev_cli/usage.py +0 -0
  31. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/src/claude_dev_cli/warp_integration.py +0 -0
  32. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/src/claude_dev_cli/workflows.py +0 -0
  33. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/src/claude_dev_cli.egg-info/dependency_links.txt +0 -0
  34. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/src/claude_dev_cli.egg-info/entry_points.txt +0 -0
  35. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/src/claude_dev_cli.egg-info/top_level.txt +0 -0
  36. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/tests/test_cli.py +0 -0
  37. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/tests/test_commands.py +0 -0
  38. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/tests/test_config.py +0 -0
  39. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/tests/test_context.py +0 -0
  40. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/tests/test_core.py +0 -0
  41. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/tests/test_diff_editor.py +0 -0
  42. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/tests/test_history.py +0 -0
  43. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/tests/test_secure_storage.py +0 -0
  44. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/tests/test_template_manager.py +0 -0
  45. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/tests/test_toon_utils.py +0 -0
  46. {claude_dev_cli-0.10.1 → claude_dev_cli-0.12.0}/tests/test_usage.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: claude-dev-cli
3
- Version: 0.10.1
3
+ Version: 0.12.0
4
4
  Summary: A powerful CLI tool for developers using Claude AI with multi-API routing, test generation, code review, and usage tracking
5
5
  Author-email: Julio <thinmanj@users.noreply.github.com>
6
6
  License: MIT
@@ -33,6 +33,10 @@ Provides-Extra: toon
33
33
  Requires-Dist: toon-format>=0.1.0; extra == "toon"
34
34
  Provides-Extra: plugins
35
35
  Requires-Dist: pygments>=2.0.0; extra == "plugins"
36
+ Provides-Extra: generation
37
+ Requires-Dist: pypdf>=3.0.0; extra == "generation"
38
+ Requires-Dist: requests>=2.28.0; extra == "generation"
39
+ Requires-Dist: beautifulsoup4>=4.0.0; extra == "generation"
36
40
  Provides-Extra: dev
37
41
  Requires-Dist: pytest>=7.0.0; extra == "dev"
38
42
  Requires-Dist: black>=23.0.0; extra == "dev"
@@ -40,13 +44,16 @@ Requires-Dist: ruff>=0.1.0; extra == "dev"
40
44
  Requires-Dist: mypy>=1.0.0; extra == "dev"
41
45
  Requires-Dist: toon-format>=0.1.0; extra == "dev"
42
46
  Requires-Dist: pygments>=2.0.0; extra == "dev"
47
+ Requires-Dist: pypdf>=3.0.0; extra == "dev"
48
+ Requires-Dist: requests>=2.28.0; extra == "dev"
49
+ Requires-Dist: beautifulsoup4>=4.0.0; extra == "dev"
43
50
  Dynamic: license-file
44
51
 
45
52
  # Claude Dev CLI
46
53
 
47
54
  [![PyPI version](https://badge.fury.io/py/claude-dev-cli.svg)](https://badge.fury.io/py/claude-dev-cli)
48
55
  [![Python 3.9+](https://img.shields.io/badge/python-3.9+-blue.svg)](https://www.python.org/downloads/)
49
- [![Tests](https://img.shields.io/badge/tests-260%20passing-brightgreen.svg)](https://github.com/thinmanj/claude-dev-cli)
56
+ [![Tests](https://img.shields.io/badge/tests-303%20passing-brightgreen.svg)](https://github.com/thinmanj/claude-dev-cli)
50
57
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
51
58
  [![Homebrew](https://img.shields.io/badge/homebrew-available-orange.svg)](https://github.com/thinmanj/homebrew-tap)
52
59
  [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
@@ -72,6 +79,39 @@ A powerful command-line tool for developers using Claude AI with multi-API routi
72
79
  - `smart`: Claude Sonnet 4 ($3.00/$15.00 per Mtok) - default
73
80
  - `powerful`: Claude Opus 4 ($15.00/$75.00 per Mtok)
74
81
 
82
+ ### 🚀 Code Generation (v0.12.0+)
83
+ - **Generate Code from Specs**: Create new code from descriptions, files, PDFs, or URLs
84
+ - `cdc generate code --description "REST API client" -o client.py`
85
+ - Multiple input sources: text, files (.md, .txt), PDFs, URLs
86
+ - Auto-detects target language from file extension
87
+ - Interactive refinement mode
88
+ - **Add Features to Projects**: Analyze existing code and generate implementation plans
89
+ - `cdc generate feature --description "Add authentication" src/`
90
+ - Multi-file analysis and modification
91
+ - Preview mode to review changes before applying
92
+ - Supports same input sources as code generation
93
+ - **Multiple Input Sources**:
94
+ - `--description TEXT`: Inline specification
95
+ - `-f/--file PATH`: Read from file
96
+ - `--pdf PATH`: Extract from PDF
97
+ - `--url URL`: Fetch from URL
98
+ - **Optional Dependencies**: Install with `pip install 'claude-dev-cli[generation]'`
99
+ - Enables PDF and URL support
100
+ - Graceful fallback if not installed
101
+
102
+ ### 📁 Multi-File Support (v0.11.0+)
103
+ - **Batch Processing**: Review, refactor, test, or document multiple files at once
104
+ - **Directory Support**: Process all code files in a directory with `--max-files` limit
105
+ - **Auto-Detection**: Commands auto-detect git changes when no files specified
106
+ - `cdc review` → reviews staged files, falls back to modified files, then current directory
107
+ - **Git Integration**: New `cdc git review` command for reviewing changes
108
+ - `--staged`: Review only staged changes
109
+ - `--branch <range>`: Review branch changes (e.g., `main..HEAD`)
110
+ - **Multi-Language**: Supports 25+ file extensions (Python, JS/TS, Go, Rust, Java, C++, etc.)
111
+ - **Smart Display**: Shows file list preview (first 5-10 files, then "... and N more")
112
+ - Commands with multi-file support:
113
+ - `review`, `refactor`, `generate tests`, `generate docs`
114
+
75
115
  ### 🧪 Developer Tools
76
116
  - **Test Generation**: Automatic pytest test generation for Python code
77
117
  - **Code Review**: Comprehensive code reviews with security, performance, and best practice checks
@@ -136,8 +176,14 @@ brew install thinmanj/tap/claude-dev-cli
136
176
  # Basic installation
137
177
  pip install claude-dev-cli
138
178
 
179
+ # With code generation support (PDF & URL input)
180
+ pip install claude-dev-cli[generation]
181
+
139
182
  # With TOON support (30-60% token reduction)
140
183
  pip install claude-dev-cli[toon]
184
+
185
+ # With all optional features
186
+ pip install claude-dev-cli[generation,toon]
141
187
  ```
142
188
 
143
189
  ### Via pipx (Recommended for CLI tools)
@@ -146,8 +192,14 @@ pip install claude-dev-cli[toon]
146
192
  # Isolated installation
147
193
  pipx install claude-dev-cli
148
194
 
195
+ # With code generation support
196
+ pipx install claude-dev-cli[generation]
197
+
149
198
  # With TOON support
150
199
  pipx install claude-dev-cli[toon]
200
+
201
+ # With all optional features
202
+ pipx install claude-dev-cli[generation,toon]
151
203
  ```
152
204
 
153
205
  ## Quick Start
@@ -229,39 +281,93 @@ cdc review -m powerful complex_file.py # More thorough review
229
281
  cdc generate tests -m smart mymodule.py # Balanced approach
230
282
  ```
231
283
 
232
- ### 3. Developer Commands
284
+ ### 3. Code Generation Commands (NEW in v0.12.0)
285
+
286
+ ```bash
287
+ # Generate code from specification
288
+ cdc generate code --description "REST API client for weather data" -o client.py
289
+ cdc generate code --file spec.md -o implementation.go
290
+ cdc generate code --pdf requirements.pdf -o app.js
291
+ cdc generate code --url https://example.com/api-spec -o service.py
292
+
293
+ # Generate code with interactive refinement
294
+ cdc generate code --description "Database ORM" -o orm.py --interactive
295
+
296
+ # Generate code with project context
297
+ cdc generate code --file spec.md -o service.py --auto-context
298
+
299
+ # Add features to existing project
300
+ cdc generate feature --description "Add user authentication with JWT" src/
301
+ cdc generate feature --file feature-spec.md
302
+ cdc generate feature --pdf product-requirements.pdf --preview
303
+ cdc generate feature --url https://example.com/feature-spec
304
+
305
+ # Preview feature changes before applying
306
+ cdc generate feature --description "Add caching layer" src/ --preview
307
+
308
+ # Interactive feature implementation
309
+ cdc generate feature --description "Add logging" src/ --interactive
310
+ ```
311
+
312
+ ### 4. Developer Commands
233
313
 
234
314
  ```bash
235
- # Generate tests
315
+ # Generate tests (single file)
236
316
  cdc generate tests mymodule.py -o tests/test_mymodule.py
237
317
 
318
+ # Generate tests for multiple files (NEW in v0.11.0)
319
+ cdc generate tests file1.py file2.py file3.py
320
+ cdc generate tests src/ --max-files 10
321
+
238
322
  # Generate tests with interactive refinement
239
323
  cdc generate tests mymodule.py --interactive
240
324
 
241
325
  # Generate tests with context (includes dependencies, related files) - NEW in v0.8.1
242
326
  cdc generate tests mymodule.py --auto-context
243
327
 
244
- # Code review
328
+ # Code review (single file)
245
329
  cdc review mymodule.py
246
330
 
331
+ # Code review multiple files (NEW in v0.11.0)
332
+ cdc review file1.py file2.py file3.py
333
+ cdc review src/ # Review entire directory
334
+ cdc review # Auto-detect git changes (staged → modified → current dir)
335
+
247
336
  # Code review with auto-context (includes git, dependencies, tests)
248
337
  cdc review mymodule.py --auto-context
249
338
 
250
339
  # Code review with interactive follow-up questions
251
340
  cdc review mymodule.py --interactive
252
341
 
342
+ # Review git changes (NEW in v0.11.0)
343
+ cdc git review --staged # Review only staged changes
344
+ cdc git review --branch main..HEAD # Review branch changes
345
+ cdc git review # Review all modified files
346
+
253
347
  # Debug errors with intelligent error parsing
254
348
  python script.py 2>&1 | cdc debug --auto-context
255
349
 
256
- # Generate documentation
350
+ # Generate documentation (single file)
257
351
  cdc generate docs mymodule.py
258
352
 
353
+ # Generate docs for multiple files (NEW in v0.11.0)
354
+ cdc generate docs file1.py file2.py file3.py
355
+ cdc generate docs src/ --max-files 10
356
+
259
357
  # Generate docs with interactive refinement
260
358
  cdc generate docs mymodule.py --interactive
261
359
 
262
360
  # Generate docs with context (includes dependencies) - NEW in v0.8.1
263
361
  cdc generate docs mymodule.py --auto-context
264
362
 
363
+ # Refactor (single file)
364
+ cdc refactor legacy_code.py
365
+
366
+ # Refactor multiple files (NEW in v0.11.0)
367
+ cdc refactor file1.py file2.py file3.py
368
+ cdc refactor src/
369
+ cdc refactor # Auto-detect git changes
370
+
265
371
  # Refactor with context (includes related files)
266
372
  cdc refactor legacy_code.py --auto-context
267
373
 
@@ -277,7 +383,7 @@ git add .
277
383
  cdc git commit --auto-context
278
384
  ```
279
385
 
280
- ### 4. Context-Aware Operations (v0.8.0+)
386
+ ### 5. Context-Aware Operations (v0.8.0+)
281
387
 
282
388
  ```bash
283
389
  # Auto-context includes: git info, dependencies, related files
@@ -306,7 +412,7 @@ cdc refactor app.py --auto-context
306
412
  # Automatically includes imported modules and dependencies
307
413
  ```
308
414
 
309
- ### 5. Custom Templates
415
+ ### 6. Custom Templates
310
416
 
311
417
  ```bash
312
418
  # List all templates (built-in and user)
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![PyPI version](https://badge.fury.io/py/claude-dev-cli.svg)](https://badge.fury.io/py/claude-dev-cli)
4
4
  [![Python 3.9+](https://img.shields.io/badge/python-3.9+-blue.svg)](https://www.python.org/downloads/)
5
- [![Tests](https://img.shields.io/badge/tests-260%20passing-brightgreen.svg)](https://github.com/thinmanj/claude-dev-cli)
5
+ [![Tests](https://img.shields.io/badge/tests-303%20passing-brightgreen.svg)](https://github.com/thinmanj/claude-dev-cli)
6
6
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
7
7
  [![Homebrew](https://img.shields.io/badge/homebrew-available-orange.svg)](https://github.com/thinmanj/homebrew-tap)
8
8
  [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
@@ -28,6 +28,39 @@ A powerful command-line tool for developers using Claude AI with multi-API routi
28
28
  - `smart`: Claude Sonnet 4 ($3.00/$15.00 per Mtok) - default
29
29
  - `powerful`: Claude Opus 4 ($15.00/$75.00 per Mtok)
30
30
 
31
+ ### 🚀 Code Generation (v0.12.0+)
32
+ - **Generate Code from Specs**: Create new code from descriptions, files, PDFs, or URLs
33
+ - `cdc generate code --description "REST API client" -o client.py`
34
+ - Multiple input sources: text, files (.md, .txt), PDFs, URLs
35
+ - Auto-detects target language from file extension
36
+ - Interactive refinement mode
37
+ - **Add Features to Projects**: Analyze existing code and generate implementation plans
38
+ - `cdc generate feature --description "Add authentication" src/`
39
+ - Multi-file analysis and modification
40
+ - Preview mode to review changes before applying
41
+ - Supports same input sources as code generation
42
+ - **Multiple Input Sources**:
43
+ - `--description TEXT`: Inline specification
44
+ - `-f/--file PATH`: Read from file
45
+ - `--pdf PATH`: Extract from PDF
46
+ - `--url URL`: Fetch from URL
47
+ - **Optional Dependencies**: Install with `pip install 'claude-dev-cli[generation]'`
48
+ - Enables PDF and URL support
49
+ - Graceful fallback if not installed
50
+
51
+ ### 📁 Multi-File Support (v0.11.0+)
52
+ - **Batch Processing**: Review, refactor, test, or document multiple files at once
53
+ - **Directory Support**: Process all code files in a directory with `--max-files` limit
54
+ - **Auto-Detection**: Commands auto-detect git changes when no files specified
55
+ - `cdc review` → reviews staged files, falls back to modified files, then current directory
56
+ - **Git Integration**: New `cdc git review` command for reviewing changes
57
+ - `--staged`: Review only staged changes
58
+ - `--branch <range>`: Review branch changes (e.g., `main..HEAD`)
59
+ - **Multi-Language**: Supports 25+ file extensions (Python, JS/TS, Go, Rust, Java, C++, etc.)
60
+ - **Smart Display**: Shows file list preview (first 5-10 files, then "... and N more")
61
+ - Commands with multi-file support:
62
+ - `review`, `refactor`, `generate tests`, `generate docs`
63
+
31
64
  ### 🧪 Developer Tools
32
65
  - **Test Generation**: Automatic pytest test generation for Python code
33
66
  - **Code Review**: Comprehensive code reviews with security, performance, and best practice checks
@@ -92,8 +125,14 @@ brew install thinmanj/tap/claude-dev-cli
92
125
  # Basic installation
93
126
  pip install claude-dev-cli
94
127
 
128
+ # With code generation support (PDF & URL input)
129
+ pip install claude-dev-cli[generation]
130
+
95
131
  # With TOON support (30-60% token reduction)
96
132
  pip install claude-dev-cli[toon]
133
+
134
+ # With all optional features
135
+ pip install claude-dev-cli[generation,toon]
97
136
  ```
98
137
 
99
138
  ### Via pipx (Recommended for CLI tools)
@@ -102,8 +141,14 @@ pip install claude-dev-cli[toon]
102
141
  # Isolated installation
103
142
  pipx install claude-dev-cli
104
143
 
144
+ # With code generation support
145
+ pipx install claude-dev-cli[generation]
146
+
105
147
  # With TOON support
106
148
  pipx install claude-dev-cli[toon]
149
+
150
+ # With all optional features
151
+ pipx install claude-dev-cli[generation,toon]
107
152
  ```
108
153
 
109
154
  ## Quick Start
@@ -185,39 +230,93 @@ cdc review -m powerful complex_file.py # More thorough review
185
230
  cdc generate tests -m smart mymodule.py # Balanced approach
186
231
  ```
187
232
 
188
- ### 3. Developer Commands
233
+ ### 3. Code Generation Commands (NEW in v0.12.0)
234
+
235
+ ```bash
236
+ # Generate code from specification
237
+ cdc generate code --description "REST API client for weather data" -o client.py
238
+ cdc generate code --file spec.md -o implementation.go
239
+ cdc generate code --pdf requirements.pdf -o app.js
240
+ cdc generate code --url https://example.com/api-spec -o service.py
241
+
242
+ # Generate code with interactive refinement
243
+ cdc generate code --description "Database ORM" -o orm.py --interactive
244
+
245
+ # Generate code with project context
246
+ cdc generate code --file spec.md -o service.py --auto-context
247
+
248
+ # Add features to existing project
249
+ cdc generate feature --description "Add user authentication with JWT" src/
250
+ cdc generate feature --file feature-spec.md
251
+ cdc generate feature --pdf product-requirements.pdf --preview
252
+ cdc generate feature --url https://example.com/feature-spec
253
+
254
+ # Preview feature changes before applying
255
+ cdc generate feature --description "Add caching layer" src/ --preview
256
+
257
+ # Interactive feature implementation
258
+ cdc generate feature --description "Add logging" src/ --interactive
259
+ ```
260
+
261
+ ### 4. Developer Commands
189
262
 
190
263
  ```bash
191
- # Generate tests
264
+ # Generate tests (single file)
192
265
  cdc generate tests mymodule.py -o tests/test_mymodule.py
193
266
 
267
+ # Generate tests for multiple files (NEW in v0.11.0)
268
+ cdc generate tests file1.py file2.py file3.py
269
+ cdc generate tests src/ --max-files 10
270
+
194
271
  # Generate tests with interactive refinement
195
272
  cdc generate tests mymodule.py --interactive
196
273
 
197
274
  # Generate tests with context (includes dependencies, related files) - NEW in v0.8.1
198
275
  cdc generate tests mymodule.py --auto-context
199
276
 
200
- # Code review
277
+ # Code review (single file)
201
278
  cdc review mymodule.py
202
279
 
280
+ # Code review multiple files (NEW in v0.11.0)
281
+ cdc review file1.py file2.py file3.py
282
+ cdc review src/ # Review entire directory
283
+ cdc review # Auto-detect git changes (staged → modified → current dir)
284
+
203
285
  # Code review with auto-context (includes git, dependencies, tests)
204
286
  cdc review mymodule.py --auto-context
205
287
 
206
288
  # Code review with interactive follow-up questions
207
289
  cdc review mymodule.py --interactive
208
290
 
291
+ # Review git changes (NEW in v0.11.0)
292
+ cdc git review --staged # Review only staged changes
293
+ cdc git review --branch main..HEAD # Review branch changes
294
+ cdc git review # Review all modified files
295
+
209
296
  # Debug errors with intelligent error parsing
210
297
  python script.py 2>&1 | cdc debug --auto-context
211
298
 
212
- # Generate documentation
299
+ # Generate documentation (single file)
213
300
  cdc generate docs mymodule.py
214
301
 
302
+ # Generate docs for multiple files (NEW in v0.11.0)
303
+ cdc generate docs file1.py file2.py file3.py
304
+ cdc generate docs src/ --max-files 10
305
+
215
306
  # Generate docs with interactive refinement
216
307
  cdc generate docs mymodule.py --interactive
217
308
 
218
309
  # Generate docs with context (includes dependencies) - NEW in v0.8.1
219
310
  cdc generate docs mymodule.py --auto-context
220
311
 
312
+ # Refactor (single file)
313
+ cdc refactor legacy_code.py
314
+
315
+ # Refactor multiple files (NEW in v0.11.0)
316
+ cdc refactor file1.py file2.py file3.py
317
+ cdc refactor src/
318
+ cdc refactor # Auto-detect git changes
319
+
221
320
  # Refactor with context (includes related files)
222
321
  cdc refactor legacy_code.py --auto-context
223
322
 
@@ -233,7 +332,7 @@ git add .
233
332
  cdc git commit --auto-context
234
333
  ```
235
334
 
236
- ### 4. Context-Aware Operations (v0.8.0+)
335
+ ### 5. Context-Aware Operations (v0.8.0+)
237
336
 
238
337
  ```bash
239
338
  # Auto-context includes: git info, dependencies, related files
@@ -262,7 +361,7 @@ cdc refactor app.py --auto-context
262
361
  # Automatically includes imported modules and dependencies
263
362
  ```
264
363
 
265
- ### 5. Custom Templates
364
+ ### 6. Custom Templates
266
365
 
267
366
  ```bash
268
367
  # List all templates (built-in and user)
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "claude-dev-cli"
7
- version = "0.10.1"
7
+ version = "0.12.0"
8
8
  description = "A powerful CLI tool for developers using Claude AI with multi-API routing, test generation, code review, and usage tracking"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
@@ -44,6 +44,11 @@ toon = [
44
44
  plugins = [
45
45
  "pygments>=2.0.0",
46
46
  ]
47
+ generation = [
48
+ "pypdf>=3.0.0",
49
+ "requests>=2.28.0",
50
+ "beautifulsoup4>=4.0.0",
51
+ ]
47
52
  dev = [
48
53
  "pytest>=7.0.0",
49
54
  "black>=23.0.0",
@@ -51,6 +56,9 @@ dev = [
51
56
  "mypy>=1.0.0",
52
57
  "toon-format>=0.1.0",
53
58
  "pygments>=2.0.0",
59
+ "pypdf>=3.0.0",
60
+ "requests>=2.28.0",
61
+ "beautifulsoup4>=4.0.0",
54
62
  ]
55
63
 
56
64
  [project.urls]
@@ -9,7 +9,7 @@ Features:
9
9
  - Interactive and single-shot modes
10
10
  """
11
11
 
12
- __version__ = "0.10.1"
12
+ __version__ = "0.12.0"
13
13
  __author__ = "Julio"
14
14
  __license__ = "MIT"
15
15