mycontext-cli 1.0.23 → 1.0.24
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 +66 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -105,6 +105,72 @@ mycontext model test # Test AI provider connections
|
|
|
105
105
|
mycontext setup # Local AI setup
|
|
106
106
|
```
|
|
107
107
|
|
|
108
|
+
## 🛠️ Commands Reference
|
|
109
|
+
|
|
110
|
+
### Core Commands
|
|
111
|
+
|
|
112
|
+
#### Project Management
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
mycontext init <project-name> # Initialize new project
|
|
116
|
+
mycontext init . --analyze # Analyze existing project
|
|
117
|
+
mycontext migrate # Migrate existing project to MyContext
|
|
118
|
+
mycontext status # Check project status and health
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
#### AI-Powered Generation
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
mycontext generate-context-files # Generate A/B/C/D context files
|
|
125
|
+
mycontext compile-prd # Compile context into comprehensive PRD
|
|
126
|
+
mycontext build-app # Build complete application
|
|
127
|
+
mycontext generate-components # Generate React components
|
|
128
|
+
mycontext enhance <component> # Enhance existing components
|
|
129
|
+
mycontext refine <component> # Refine components with AI
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
#### Utility Commands (Clean Output)
|
|
133
|
+
|
|
134
|
+
```bash
|
|
135
|
+
mycontext --version # Show CLI version
|
|
136
|
+
mycontext --up # Update to latest version
|
|
137
|
+
mycontext now --verbose # Show current timestamp
|
|
138
|
+
mycontext clear # Clear terminal screen
|
|
139
|
+
mycontext history # Show command history
|
|
140
|
+
mycontext help # Show detailed help
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
#### Development Tools
|
|
144
|
+
|
|
145
|
+
```bash
|
|
146
|
+
mycontext validate <target> # Validate PRD or files
|
|
147
|
+
mycontext list [type] # List components, projects, or files
|
|
148
|
+
mycontext preview <type> # Preview brand or components
|
|
149
|
+
mycontext promote --all # Promote components to production
|
|
150
|
+
mycontext auth --login # Authenticate with MyContext AI
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
### Command Options
|
|
154
|
+
|
|
155
|
+
#### Global Options
|
|
156
|
+
|
|
157
|
+
- `--verbose` - Show detailed output
|
|
158
|
+
- `--debug` - Enable debug logging
|
|
159
|
+
- `--force` - Overwrite existing files
|
|
160
|
+
- `--interactive` - Interactive mode with prompts
|
|
161
|
+
|
|
162
|
+
#### Update Options
|
|
163
|
+
|
|
164
|
+
- `--up` - Update CLI to latest version
|
|
165
|
+
- `--version` - Show current version
|
|
166
|
+
|
|
167
|
+
#### Generation Options
|
|
168
|
+
|
|
169
|
+
- `--description <text>` - Project description
|
|
170
|
+
- `--model <name>` - Override AI model
|
|
171
|
+
- `--temperature <0.1-1.0>` - Generation creativity
|
|
172
|
+
- `--max-tokens <number>` - Maximum tokens
|
|
173
|
+
|
|
108
174
|
## 📦 What You Get (Updated Structure)
|
|
109
175
|
|
|
110
176
|
### Context Files (A/B/C/D Workflow)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mycontext-cli",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "MyContext CLI - AI-powered component generation with shadcn/ui
|
|
3
|
+
"version": "1.0.24",
|
|
4
|
+
"description": "MyContext CLI - AI-powered component generation with clean utility commands, smart updates, and shadcn/ui integration",
|
|
5
5
|
"main": "dist/cli.js",
|
|
6
6
|
"bin": {
|
|
7
7
|
"mycontext-cli": "dist/cli.js",
|