pmpt-cli 1.4.0 → 1.4.1
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.
- package/README.md +40 -26
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -32,8 +32,9 @@ pmpt plan
|
|
|
32
32
|
# 4. Save your progress
|
|
33
33
|
pmpt save
|
|
34
34
|
|
|
35
|
-
# 5.
|
|
36
|
-
pmpt
|
|
35
|
+
# 5. Publish to pmptwiki
|
|
36
|
+
pmpt login
|
|
37
|
+
pmpt publish
|
|
37
38
|
```
|
|
38
39
|
|
|
39
40
|
---
|
|
@@ -42,12 +43,15 @@ pmpt export
|
|
|
42
43
|
|
|
43
44
|
- **5 questions** — Quick product planning with AI-ready prompts
|
|
44
45
|
- **Version history** — Track every step of your AI-assisted development
|
|
45
|
-
- **Share & reproduce** —
|
|
46
|
+
- **Share & reproduce** — Publish projects for others to learn from and clone
|
|
47
|
+
- **Project hub** — Browse and clone projects at [pmptwiki.com](https://pmptwiki.com/en/explore)
|
|
46
48
|
|
|
47
49
|
---
|
|
48
50
|
|
|
49
51
|
## Commands
|
|
50
52
|
|
|
53
|
+
### Local
|
|
54
|
+
|
|
51
55
|
| Command | Description |
|
|
52
56
|
|---------|-------------|
|
|
53
57
|
| `pmpt init` | Initialize project |
|
|
@@ -61,6 +65,33 @@ pmpt export
|
|
|
61
65
|
| `pmpt import <file>` | Import from `.pmpt` file |
|
|
62
66
|
| `pmpt status` | Check project status |
|
|
63
67
|
|
|
68
|
+
### Platform
|
|
69
|
+
|
|
70
|
+
| Command | Description |
|
|
71
|
+
|---------|-------------|
|
|
72
|
+
| `pmpt login` | Authenticate with GitHub (one-time setup) |
|
|
73
|
+
| `pmpt publish` | Publish project to pmptwiki |
|
|
74
|
+
| `pmpt clone <slug>` | Clone a published project |
|
|
75
|
+
| `pmpt browse` | Browse and discover projects |
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## Workflow
|
|
80
|
+
|
|
81
|
+
```
|
|
82
|
+
[You]
|
|
83
|
+
│
|
|
84
|
+
├─ pmpt plan ─────→ 5 questions → AI prompt (clipboard)
|
|
85
|
+
│
|
|
86
|
+
├─ Build with AI ──→ Create files, iterate
|
|
87
|
+
│
|
|
88
|
+
├─ pmpt save ─────→ Save to .pmpt/.history
|
|
89
|
+
│
|
|
90
|
+
├─ pmpt publish ──→ Share on pmptwiki.com
|
|
91
|
+
│
|
|
92
|
+
└─ pmpt clone ────→ Reproduce someone's project
|
|
93
|
+
```
|
|
94
|
+
|
|
64
95
|
---
|
|
65
96
|
|
|
66
97
|
## Folder Structure
|
|
@@ -79,24 +110,6 @@ pmpt export
|
|
|
79
110
|
|
|
80
111
|
---
|
|
81
112
|
|
|
82
|
-
## Workflow
|
|
83
|
-
|
|
84
|
-
```
|
|
85
|
-
[You]
|
|
86
|
-
│
|
|
87
|
-
├─ pmpt plan ────→ 5 questions → AI prompt (clipboard)
|
|
88
|
-
│
|
|
89
|
-
├─ Build with AI ─→ Create files, iterate
|
|
90
|
-
│
|
|
91
|
-
├─ pmpt save ────→ Save to .pmpt/.history
|
|
92
|
-
│
|
|
93
|
-
├─ pmpt export ──→ Create .pmpt file (shareable)
|
|
94
|
-
│
|
|
95
|
-
└─ pmpt import ──→ Reproduce someone's project
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
---
|
|
99
|
-
|
|
100
113
|
## .pmpt File Format
|
|
101
114
|
|
|
102
115
|
Single JSON file containing your entire development journey:
|
|
@@ -104,12 +117,12 @@ Single JSON file containing your entire development journey:
|
|
|
104
117
|
```json
|
|
105
118
|
{
|
|
106
119
|
"schemaVersion": "1.0",
|
|
107
|
-
"meta": { "projectName", "description", "createdAt" },
|
|
108
|
-
"plan": { "productIdea", "coreFeatures", "techStack" },
|
|
120
|
+
"meta": { "projectName": "", "description": "", "createdAt": "" },
|
|
121
|
+
"plan": { "productIdea": "", "coreFeatures": "", "techStack": "" },
|
|
109
122
|
"docs": { "plan.md": "...", "pmpt.md": "..." },
|
|
110
123
|
"history": [
|
|
111
|
-
{ "version": 1, "timestamp": "...", "files": {
|
|
112
|
-
{ "version": 2, "timestamp": "...", "files": {
|
|
124
|
+
{ "version": 1, "timestamp": "...", "files": {} },
|
|
125
|
+
{ "version": 2, "timestamp": "...", "files": {} }
|
|
113
126
|
]
|
|
114
127
|
}
|
|
115
128
|
```
|
|
@@ -121,13 +134,14 @@ Single JSON file containing your entire development journey:
|
|
|
121
134
|
- **Side project builders** — Track your AI-assisted development
|
|
122
135
|
- **Startup founders** — Document MVP creation process
|
|
123
136
|
- **Content creators** — Share your coding journey
|
|
124
|
-
- **Learners** —
|
|
137
|
+
- **Learners** — Browse and clone projects to study how others build with AI
|
|
125
138
|
|
|
126
139
|
---
|
|
127
140
|
|
|
128
141
|
## Links
|
|
129
142
|
|
|
130
143
|
- [Website](https://pmptwiki.com)
|
|
144
|
+
- [Explore Projects](https://pmptwiki.com/en/explore)
|
|
131
145
|
- [GitHub](https://github.com/pmptwiki/pmpt-cli)
|
|
132
146
|
- [npm](https://www.npmjs.com/package/pmpt-cli)
|
|
133
147
|
|
package/dist/index.js
CHANGED
|
@@ -20,7 +20,7 @@ const program = new Command();
|
|
|
20
20
|
program
|
|
21
21
|
.name('pmpt')
|
|
22
22
|
.description('pmpt — Record and share your AI-driven product development journey')
|
|
23
|
-
.version('1.4.
|
|
23
|
+
.version('1.4.1')
|
|
24
24
|
.addHelpText('after', `
|
|
25
25
|
Examples:
|
|
26
26
|
$ pmpt init Initialize project
|