pdd-cli 0.0.6__py3-none-any.whl → 0.0.8__py3-none-any.whl
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 pdd-cli might be problematic. Click here for more details.
- pdd/cli.py +1 -1
- {pdd_cli-0.0.6.dist-info → pdd_cli-0.0.8.dist-info}/METADATA +31 -28
- {pdd_cli-0.0.6.dist-info → pdd_cli-0.0.8.dist-info}/RECORD +7 -7
- {pdd_cli-0.0.6.dist-info → pdd_cli-0.0.8.dist-info}/LICENSE +0 -0
- {pdd_cli-0.0.6.dist-info → pdd_cli-0.0.8.dist-info}/WHEEL +0 -0
- {pdd_cli-0.0.6.dist-info → pdd_cli-0.0.8.dist-info}/entry_points.txt +0 -0
- {pdd_cli-0.0.6.dist-info → pdd_cli-0.0.8.dist-info}/top_level.txt +0 -0
pdd/cli.py
CHANGED
|
@@ -46,7 +46,7 @@ console = Console()
|
|
|
46
46
|
@click.option("--review-examples", is_flag=True,
|
|
47
47
|
help="Review and optionally exclude few-shot examples before command execution.")
|
|
48
48
|
@click.option('--local', is_flag=True, help='Run commands locally instead of in the cloud.')
|
|
49
|
-
@click.version_option(version="0.0.
|
|
49
|
+
@click.version_option(version="0.0.8")
|
|
50
50
|
@click.pass_context
|
|
51
51
|
def cli(
|
|
52
52
|
ctx,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: pdd-cli
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.8
|
|
4
4
|
Summary: PDD (Prompt-Driven Development) Command Line Interface
|
|
5
5
|
Author: Greg Tanaka
|
|
6
6
|
Author-email: glt@alumni.caltech.edu
|
|
@@ -40,44 +40,51 @@ Requires-Dist: semver==3.0.2
|
|
|
40
40
|
Requires-Dist: setuptools==75.1.0
|
|
41
41
|
Requires-Dist: python-Levenshtein
|
|
42
42
|
|
|
43
|
+
.. image:: https://img.shields.io/badge/pdd--cli-v0.0.8-blue
|
|
44
|
+
:alt: PDD-CLI Version
|
|
45
|
+
|
|
43
46
|
PDD (Prompt-Driven Development) Command Line Interface
|
|
44
47
|
======================================================
|
|
45
48
|
|
|
46
49
|
PDD (Prompt-Driven Development) is a command-line interface that harnesses AI models to generate and maintain code from prompt files. Whether you want to create new features, fix bugs, enhance unit tests, or manage complex prompt structures, pdd-cli streamlines your workflow through an intuitive interface and powerful automation.
|
|
47
|
-
.. image:: https://img.shields.io/badge/pdd--cli-v0.0.6-blue
|
|
48
|
-
:alt: PDD-CLI Version
|
|
49
50
|
|
|
50
51
|
Key Features
|
|
51
52
|
------------
|
|
52
53
|
|
|
53
|
-
- Cloud or Local Execution
|
|
54
|
-
|
|
54
|
+
- Cloud or Local Execution
|
|
55
|
+
|
|
56
|
+
• Run in the cloud (default) with no need to manage API keys.
|
|
55
57
|
• Switch to local mode with the ``--local`` flag for full control using your own API keys.
|
|
56
58
|
|
|
57
|
-
- GitHub Single Sign-On
|
|
58
|
-
|
|
59
|
+
- GitHub Single Sign-On
|
|
60
|
+
|
|
61
|
+
• Secure authentication with GitHub SSO in cloud mode.
|
|
59
62
|
• Automatic token handling so you can focus on coding.
|
|
60
63
|
|
|
61
|
-
- Comprehensive Command Suite
|
|
62
|
-
|
|
63
|
-
•
|
|
64
|
-
•
|
|
65
|
-
•
|
|
66
|
-
•
|
|
67
|
-
•
|
|
64
|
+
- Comprehensive Command Suite
|
|
65
|
+
|
|
66
|
+
• Generate: Create runnable code from prompt files.
|
|
67
|
+
• Example: Build examples that showcase generated code usage.
|
|
68
|
+
• Test: Produce or improve unit tests based on coverage goals.
|
|
69
|
+
• Fix & Crash: Automatically identify and correct errors, iterating if necessary.
|
|
70
|
+
• Update & Change: Keep your prompt files in sync with evolving codebases.
|
|
71
|
+
• Split & Detect: Manage and analyze complex prompts at scale.
|
|
68
72
|
• …and more!
|
|
69
73
|
|
|
70
|
-
- Automated Testing & Cost Tracking
|
|
71
|
-
|
|
72
|
-
•
|
|
74
|
+
- Automated Testing & Cost Tracking
|
|
75
|
+
|
|
76
|
+
• Generate coverage reports and additional test cases on the fly.
|
|
77
|
+
• Optional cost-tracking (CSV) for AI usage.
|
|
73
78
|
|
|
74
|
-
- Rich Configuration & Customization
|
|
75
|
-
|
|
76
|
-
•
|
|
79
|
+
- Rich Configuration & Customization
|
|
80
|
+
|
|
81
|
+
• Environment variables to define default output paths and settings.
|
|
82
|
+
• Fine-tune AI model behavior with ``--strength`` and ``--temperature``.
|
|
77
83
|
• Built-in auto-update (configurable via env var).
|
|
78
84
|
|
|
79
|
-
- Cross-Language Support
|
|
80
|
-
|
|
85
|
+
- Cross-Language Support
|
|
86
|
+
|
|
87
|
+
• Python, Java, JavaScript, Ruby, Go, C++, and beyond.
|
|
81
88
|
• Prompt naming conventions let PDD infer language automatically.
|
|
82
89
|
|
|
83
90
|
|
|
@@ -94,7 +101,7 @@ After installation, verify:
|
|
|
94
101
|
|
|
95
102
|
pdd --version
|
|
96
103
|
|
|
97
|
-
You
|
|
104
|
+
You'll see the current PDD version (e.g., 0.0.8).
|
|
98
105
|
|
|
99
106
|
Advanced Installation Tips
|
|
100
107
|
--------------------------
|
|
@@ -110,7 +117,7 @@ Create and activate a virtual environment, then install pdd-cli:
|
|
|
110
117
|
|
|
111
118
|
# Activate environment
|
|
112
119
|
# On Windows:
|
|
113
|
-
|
|
120
|
+
pdd-env\Scripts\activate
|
|
114
121
|
# On Unix/MacOS:
|
|
115
122
|
source pdd-env/bin/activate
|
|
116
123
|
|
|
@@ -224,8 +231,4 @@ Use inline help to discover commands and options:
|
|
|
224
231
|
pdd fix --help
|
|
225
232
|
...
|
|
226
233
|
|
|
227
|
-
|
|
228
|
-
Report issues or contribute at https://github.com/promptdriven/pdd-cli.
|
|
229
|
-
|
|
230
|
-
|
|
231
234
|
Happy Prompt-Driven Coding!
|
|
@@ -6,7 +6,7 @@ pdd/bug_main.py,sha256=myKU9--QWdkV4Wf3mD2PoLPJFNgRjwf4z8s7TC28G_s,3720
|
|
|
6
6
|
pdd/bug_to_unit_test.py,sha256=o9bW065UxjvGAn9u8UIwYbIM6R-WcGB2YWuOSXAD484,5569
|
|
7
7
|
pdd/change.py,sha256=JvHPxK9FfnuGJsEkzTpzWI4tg24OJahK0qTLDZSyNPg,4985
|
|
8
8
|
pdd/change_main.py,sha256=yL_i1Ws5vt4vAkWiC826csNi2cHP6wKbwe_PfMqbbPY,11407
|
|
9
|
-
pdd/cli.py,sha256=
|
|
9
|
+
pdd/cli.py,sha256=z4rilNAFVeGMrhsh1fgF4mGGWnjU5wXg4sSIekCv-0U,16592
|
|
10
10
|
pdd/cmd_test_main.py,sha256=aSCxRnSurg15AvPcJDAPp9xy8p_qqnjU1oV14Hi2R54,5301
|
|
11
11
|
pdd/code_generator.py,sha256=_b5t9cZ6pExHKKAE2ulfdvfLfbsQj-uwrbk520n-R-Q,4375
|
|
12
12
|
pdd/code_generator_main.py,sha256=G2eRBPXc1cGszkk0PbIPmJZHPaf_dw5d2yZbsvQZA3c,4793
|
|
@@ -89,9 +89,9 @@ pdd/prompts/trim_results_start_LLM.prompt,sha256=WwFlOHha4wzMLtRHDMI6GtcNdl2toE8
|
|
|
89
89
|
pdd/prompts/unfinished_prompt_LLM.prompt,sha256=-JgBpiPTQZdWOAwOG1XpfpD9waynFTAT3Jo84eQ4bTw,1543
|
|
90
90
|
pdd/prompts/update_prompt_LLM.prompt,sha256=_lGaxeVP4oF8yGqiN6yj6UE0j79lxfGdjsYr5w5KSYk,1261
|
|
91
91
|
pdd/prompts/xml_convertor_LLM.prompt,sha256=YGRGXJeg6EhM9690f-SKqQrKqSJjLFD51UrPOlO0Frg,2786
|
|
92
|
-
pdd_cli-0.0.
|
|
93
|
-
pdd_cli-0.0.
|
|
94
|
-
pdd_cli-0.0.
|
|
95
|
-
pdd_cli-0.0.
|
|
96
|
-
pdd_cli-0.0.
|
|
97
|
-
pdd_cli-0.0.
|
|
92
|
+
pdd_cli-0.0.8.dist-info/LICENSE,sha256=-1bjYH-CEjGEQ8VixtnRYuu37kN6F9NxmZSDkBuUQ9o,1062
|
|
93
|
+
pdd_cli-0.0.8.dist-info/METADATA,sha256=1CmuCR7ZTC-msHKT1xPCvefvWuxcThjFfptD5mMmnGA,6805
|
|
94
|
+
pdd_cli-0.0.8.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
95
|
+
pdd_cli-0.0.8.dist-info/entry_points.txt,sha256=Kr8HtNVb8uHZtQJNH4DnF8j7WNgWQbb7_Pw5hECSR-I,36
|
|
96
|
+
pdd_cli-0.0.8.dist-info/top_level.txt,sha256=xjnhIACeMcMeDfVNREgQZl4EbTni2T11QkL5r7E-sbE,4
|
|
97
|
+
pdd_cli-0.0.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|