@enjoys/context-engine 1.0.0 → 1.0.2
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/data/commands/adb.json +322 -0
- package/data/commands/alembic.json +301 -0
- package/data/commands/artisan.json +277 -0
- package/data/commands/atlas.json +426 -0
- package/data/commands/auth0.json +648 -0
- package/data/commands/bat.json +84 -0
- package/data/commands/btop.json +59 -0
- package/data/commands/bundle.json +321 -0
- package/data/commands/composer.json +507 -0
- package/data/commands/dart.json +216 -0
- package/data/commands/dbmate.json +257 -0
- package/data/commands/docker-compose.json +384 -0
- package/data/commands/drizzle-kit.json +217 -0
- package/data/commands/expo.json +65 -0
- package/data/commands/fastlane.json +243 -0
- package/data/commands/fd.json +86 -0
- package/data/commands/flutter.json +298 -0
- package/data/commands/flyway.json +261 -0
- package/data/commands/fzf.json +103 -0
- package/data/commands/gem.json +267 -0
- package/data/commands/htop.json +56 -0
- package/data/commands/jq.json +100 -0
- package/data/commands/k9s.json +62 -0
- package/data/commands/linux.json +3007 -0
- package/data/commands/liquibase.json +399 -0
- package/data/commands/manifest.json +619 -0
- package/data/commands/minikube.json +60 -0
- package/data/commands/ng.json +64 -0
- package/data/commands/nuxt.json +60 -0
- package/data/commands/nvim.json +91 -0
- package/data/commands/php.json +157 -0
- package/data/commands/pm2.json +259 -0
- package/data/commands/pod.json +175 -0
- package/data/commands/prisma.json +257 -0
- package/data/commands/rails.json +372 -0
- package/data/commands/rake.json +360 -0
- package/data/commands/react-native.json +57 -0
- package/data/commands/rg.json +103 -0
- package/data/commands/rspec.json +257 -0
- package/data/commands/ruby.json +108 -0
- package/data/commands/screen.json +101 -0
- package/data/commands/sequelize.json +342 -0
- package/data/commands/snyk.json +442 -0
- package/data/commands/sonar-scanner.json +219 -0
- package/data/commands/stripe.json +314 -0
- package/data/commands/symfony.json +449 -0
- package/data/commands/tmux.json +197 -0
- package/data/commands/top.json +61 -0
- package/data/commands/trivy.json +367 -0
- package/data/commands/twilio.json +382 -0
- package/data/commands/typeorm.json +262 -0
- package/data/commands/vim.json +85 -0
- package/data/commands/vue.json +60 -0
- package/data/commands/wp.json +857 -0
- package/data/commands/xcodebuild.json +141 -0
- package/data/commands/yq.json +57 -0
- package/data/completion/bash.json +1184 -0
- package/data/completion/c.json +1067 -0
- package/data/completion/cpp.json +824 -0
- package/data/completion/csharp.json +860 -0
- package/data/completion/dockerfile.json +536 -0
- package/data/completion/go.json +1346 -0
- package/data/completion/html.json +806 -0
- package/data/completion/java.json +1112 -0
- package/data/completion/javascript.json +914 -0
- package/data/completion/lua.json +968 -0
- package/data/completion/php.json +1535 -0
- package/data/completion/python.json +1427 -0
- package/data/completion/ruby.json +1531 -0
- package/data/completion/rust.json +698 -0
- package/data/completion/sql.json +887 -0
- package/data/completion/toml.json +428 -0
- package/data/completion/typescript.json +338 -0
- package/data/completion/yaml.json +563 -0
- package/data/defination/bash.json +565 -0
- package/data/defination/c.json +865 -0
- package/data/defination/cpp.json +348 -0
- package/data/defination/csharp.json +144 -0
- package/data/defination/dockerfile.json +113 -0
- package/data/defination/go.json +561 -0
- package/data/defination/html.json +559 -0
- package/data/defination/java.json +184 -0
- package/data/defination/javascript.json +265 -0
- package/data/defination/lua.json +181 -0
- package/data/defination/php.json +726 -0
- package/data/defination/python.json +717 -0
- package/data/defination/ruby.json +670 -0
- package/data/defination/rust.json +207 -0
- package/data/defination/sql.json +473 -0
- package/data/defination/toml.json +251 -0
- package/data/defination/typescript.json +29 -0
- package/data/defination/yaml.json +197 -0
- package/data/hover/bash.json +245 -0
- package/data/hover/c.json +265 -0
- package/data/hover/cpp.json +210 -0
- package/data/hover/csharp.json +290 -0
- package/data/hover/dockerfile.json +145 -0
- package/data/hover/go.json +580 -0
- package/data/hover/html.json +250 -0
- package/data/hover/java.json +395 -0
- package/data/hover/javascript.json +330 -0
- package/data/hover/lua.json +265 -0
- package/data/hover/php.json +300 -0
- package/data/hover/python.json +380 -0
- package/data/hover/ruby.json +265 -0
- package/data/hover/rust.json +275 -0
- package/data/hover/sql.json +230 -0
- package/data/hover/toml.json +145 -0
- package/data/hover/typescript.json +120 -0
- package/data/hover/yaml.json +165 -0
- package/data/manifest.json +242 -0
- package/package.json +1 -1
|
@@ -0,0 +1,384 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "docker-compose",
|
|
3
|
+
"description": "Define and run multi-container applications with Docker",
|
|
4
|
+
"category": "containers",
|
|
5
|
+
"platforms": [
|
|
6
|
+
"linux",
|
|
7
|
+
"macos",
|
|
8
|
+
"windows"
|
|
9
|
+
],
|
|
10
|
+
"shells": [
|
|
11
|
+
"bash",
|
|
12
|
+
"zsh",
|
|
13
|
+
"fish",
|
|
14
|
+
"powershell"
|
|
15
|
+
],
|
|
16
|
+
"subcommands": [
|
|
17
|
+
{
|
|
18
|
+
"name": "up",
|
|
19
|
+
"description": "Builds, (re)creates, starts, and attaches to containers for a service",
|
|
20
|
+
"args": [
|
|
21
|
+
{
|
|
22
|
+
"name": "[SERVICE...]",
|
|
23
|
+
"type": "string",
|
|
24
|
+
"required": false,
|
|
25
|
+
"description": "Services to bring up"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"options": [
|
|
29
|
+
{
|
|
30
|
+
"name": "--detach",
|
|
31
|
+
"short": "-d",
|
|
32
|
+
"description": "Detached mode: Run containers in the background"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "--build",
|
|
36
|
+
"description": "Build images before starting containers"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "--force-recreate",
|
|
40
|
+
"description": "Recreate containers even if their configuration and image haven't changed"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "--no-recreate",
|
|
44
|
+
"description": "If containers already exist, don't recreate them"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "--no-build",
|
|
48
|
+
"description": "Don't build an image, even if it's missing"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "--no-deps",
|
|
52
|
+
"description": "Don't start linked services"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "--remove-orphans",
|
|
56
|
+
"description": "Remove containers for services not defined in the Compose file"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "--scale",
|
|
60
|
+
"description": "Scale SERVICE to NUM instances. Overrides the `scale` setting in the Compose file if present.",
|
|
61
|
+
"type": "string"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "--timeout",
|
|
65
|
+
"short": "-t",
|
|
66
|
+
"description": "Use this timeout in seconds for container shutdown when attached or when containers are already running.",
|
|
67
|
+
"type": "number"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "--wait",
|
|
71
|
+
"description": "Wait for services to be running|healthy. Implies detached mode."
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "--pull",
|
|
75
|
+
"description": "Pull image before running (always|missing|never)",
|
|
76
|
+
"type": "string"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "--wait-timeout",
|
|
80
|
+
"description": "Maximum duration to wait for the project to be running|healthy.",
|
|
81
|
+
"type": "number"
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
"examples": [
|
|
85
|
+
"docker-compose up -d",
|
|
86
|
+
"docker-compose up --build",
|
|
87
|
+
"docker-compose up -d --remove-orphans",
|
|
88
|
+
"docker-compose up web db"
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "down",
|
|
93
|
+
"description": "Stop and remove containers, networks, images, and volumes",
|
|
94
|
+
"args": [],
|
|
95
|
+
"options": [
|
|
96
|
+
{
|
|
97
|
+
"name": "--rmi",
|
|
98
|
+
"description": "Remove images. Type must be one of: 'all' or 'local'.",
|
|
99
|
+
"type": "string"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"name": "--volumes",
|
|
103
|
+
"short": "-v",
|
|
104
|
+
"description": "Remove named volumes declared in the volumes section of the Compose file and anonymous volumes attached to containers."
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "--remove-orphans",
|
|
108
|
+
"description": "Remove containers for services not defined in the Compose file"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "--timeout",
|
|
112
|
+
"short": "-t",
|
|
113
|
+
"description": "Specify a shutdown timeout in seconds.",
|
|
114
|
+
"type": "number"
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
"examples": [
|
|
118
|
+
"docker-compose down",
|
|
119
|
+
"docker-compose down -v",
|
|
120
|
+
"docker-compose down --rmi all -v"
|
|
121
|
+
]
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "build",
|
|
125
|
+
"description": "Build or rebuild services",
|
|
126
|
+
"args": [
|
|
127
|
+
{
|
|
128
|
+
"name": "[SERVICE...]",
|
|
129
|
+
"type": "string",
|
|
130
|
+
"required": false,
|
|
131
|
+
"description": "Services to build"
|
|
132
|
+
}
|
|
133
|
+
],
|
|
134
|
+
"options": [
|
|
135
|
+
{
|
|
136
|
+
"name": "--build-arg",
|
|
137
|
+
"description": "Set build-time variables for services",
|
|
138
|
+
"type": "string"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"name": "--no-cache",
|
|
142
|
+
"description": "Do not use cache when building the image"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"name": "--pull",
|
|
146
|
+
"description": "Always attempt to pull a newer version of the image"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "--parallel",
|
|
150
|
+
"description": "Build images in parallel"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"name": "--push",
|
|
154
|
+
"description": "Push service images"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"name": "--quiet",
|
|
158
|
+
"short": "-q",
|
|
159
|
+
"description": "Don't print anything to STDOUT"
|
|
160
|
+
}
|
|
161
|
+
],
|
|
162
|
+
"examples": [
|
|
163
|
+
"docker-compose build",
|
|
164
|
+
"docker-compose build --no-cache",
|
|
165
|
+
"docker-compose build web"
|
|
166
|
+
]
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"name": "exec",
|
|
170
|
+
"description": "Execute a command in a running container",
|
|
171
|
+
"args": [
|
|
172
|
+
{
|
|
173
|
+
"name": "<service>",
|
|
174
|
+
"type": "string",
|
|
175
|
+
"required": true,
|
|
176
|
+
"description": "Service name"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"name": "<command>",
|
|
180
|
+
"type": "string",
|
|
181
|
+
"required": true,
|
|
182
|
+
"description": "Command to run"
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
"options": [
|
|
186
|
+
{
|
|
187
|
+
"name": "--detach",
|
|
188
|
+
"short": "-d",
|
|
189
|
+
"description": "Detached mode: Run command in the background."
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"name": "--env",
|
|
193
|
+
"short": "-e",
|
|
194
|
+
"description": "Set environment variables",
|
|
195
|
+
"type": "string"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"name": "--index",
|
|
199
|
+
"description": "Index of the container if there are multiple instances of a service [default: 1].",
|
|
200
|
+
"type": "number"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"name": "--privileged",
|
|
204
|
+
"description": "Give extended privileges to the process."
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"name": "--user",
|
|
208
|
+
"short": "-u",
|
|
209
|
+
"description": "Run the command as this user.",
|
|
210
|
+
"type": "string"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"name": "--workdir",
|
|
214
|
+
"short": "-w",
|
|
215
|
+
"description": "Path to workdir directory for this command.",
|
|
216
|
+
"type": "string"
|
|
217
|
+
}
|
|
218
|
+
],
|
|
219
|
+
"examples": [
|
|
220
|
+
"docker-compose exec web bash",
|
|
221
|
+
"docker-compose exec -u root db psql -U postgres"
|
|
222
|
+
]
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"name": "logs",
|
|
226
|
+
"description": "View output from containers",
|
|
227
|
+
"args": [
|
|
228
|
+
{
|
|
229
|
+
"name": "[SERVICE...]",
|
|
230
|
+
"type": "string",
|
|
231
|
+
"required": false,
|
|
232
|
+
"description": "Services to get logs for"
|
|
233
|
+
}
|
|
234
|
+
],
|
|
235
|
+
"options": [
|
|
236
|
+
{
|
|
237
|
+
"name": "--follow",
|
|
238
|
+
"short": "-f",
|
|
239
|
+
"description": "Follow log output"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"name": "--tail",
|
|
243
|
+
"description": "Number of lines to show from the end of the logs for each container.",
|
|
244
|
+
"type": "string"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"name": "--timestamps",
|
|
248
|
+
"short": "-t",
|
|
249
|
+
"description": "Show timestamps"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"name": "--no-color",
|
|
253
|
+
"description": "Produce monochrome output."
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"name": "--no-log-prefix",
|
|
257
|
+
"description": "Don't print prefix in logs."
|
|
258
|
+
}
|
|
259
|
+
],
|
|
260
|
+
"examples": [
|
|
261
|
+
"docker-compose logs",
|
|
262
|
+
"docker-compose logs -f",
|
|
263
|
+
"docker-compose logs -f --tail=100 web webserver"
|
|
264
|
+
]
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"name": "ps",
|
|
268
|
+
"description": "List containers",
|
|
269
|
+
"args": [
|
|
270
|
+
{
|
|
271
|
+
"name": "[SERVICE...]",
|
|
272
|
+
"type": "string",
|
|
273
|
+
"required": false,
|
|
274
|
+
"description": "Services to list"
|
|
275
|
+
}
|
|
276
|
+
],
|
|
277
|
+
"options": [
|
|
278
|
+
{
|
|
279
|
+
"name": "--all",
|
|
280
|
+
"short": "-a",
|
|
281
|
+
"description": "Show all stopped containers (including those created by the run command)"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"name": "--format",
|
|
285
|
+
"description": "Format the output. Values: [table | json].",
|
|
286
|
+
"type": "string"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"name": "--quiet",
|
|
290
|
+
"short": "-q",
|
|
291
|
+
"description": "Only display IDs"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"name": "--services",
|
|
295
|
+
"description": "Display services"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"name": "--filter",
|
|
299
|
+
"description": "Filter services by a property (supported filters: status).",
|
|
300
|
+
"type": "string"
|
|
301
|
+
}
|
|
302
|
+
],
|
|
303
|
+
"examples": [
|
|
304
|
+
"docker-compose ps",
|
|
305
|
+
"docker-compose ps -a",
|
|
306
|
+
"docker-compose ps -q"
|
|
307
|
+
]
|
|
308
|
+
}
|
|
309
|
+
],
|
|
310
|
+
"globalOptions": [
|
|
311
|
+
{
|
|
312
|
+
"name": "--file",
|
|
313
|
+
"short": "-f",
|
|
314
|
+
"description": "Specify an alternate compose file (default: docker-compose.yml)",
|
|
315
|
+
"type": "path"
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"name": "--project-name",
|
|
319
|
+
"short": "-p",
|
|
320
|
+
"description": "Specify an alternate project name (default: directory name)",
|
|
321
|
+
"type": "string"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"name": "--env-file",
|
|
325
|
+
"description": "Specify an alternate environment file",
|
|
326
|
+
"type": "path"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"name": "--profile",
|
|
330
|
+
"description": "Specify a profile to enable",
|
|
331
|
+
"type": "string"
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"name": "--project-directory",
|
|
335
|
+
"description": "Specify an alternate working directory (default: the path of the Compose file)",
|
|
336
|
+
"type": "path"
|
|
337
|
+
}
|
|
338
|
+
],
|
|
339
|
+
"examples": [
|
|
340
|
+
"docker-compose up -d",
|
|
341
|
+
"docker-compose -f docker-compose.prod.yml up -d",
|
|
342
|
+
"docker-compose --profile debug up",
|
|
343
|
+
"docker-compose exec web php-fpm"
|
|
344
|
+
],
|
|
345
|
+
"relatedCommands": [
|
|
346
|
+
"docker",
|
|
347
|
+
"minikube"
|
|
348
|
+
],
|
|
349
|
+
"contextEngine": {
|
|
350
|
+
"detectors": [
|
|
351
|
+
{
|
|
352
|
+
"name": "compose_files",
|
|
353
|
+
"description": "Docker Compose Files",
|
|
354
|
+
"command": "ls docker-compose*.yml docker-compose*.yaml 2>/dev/null",
|
|
355
|
+
"parser": "lines",
|
|
356
|
+
"cacheFor": 60
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"name": "services",
|
|
360
|
+
"description": "Defined Services",
|
|
361
|
+
"command": "docker-compose config --services 2>/dev/null",
|
|
362
|
+
"parser": "lines",
|
|
363
|
+
"cacheFor": 60,
|
|
364
|
+
"requiresCmd": "docker-compose"
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"name": "volumes",
|
|
368
|
+
"description": "Defined Volumes",
|
|
369
|
+
"command": "docker-compose config --volumes 2>/dev/null",
|
|
370
|
+
"parser": "lines",
|
|
371
|
+
"cacheFor": 60,
|
|
372
|
+
"requiresCmd": "docker-compose"
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"name": "profiles",
|
|
376
|
+
"description": "Defined Profiles",
|
|
377
|
+
"command": "docker-compose config --profiles 2>/dev/null",
|
|
378
|
+
"parser": "lines",
|
|
379
|
+
"cacheFor": 60,
|
|
380
|
+
"requiresCmd": "docker-compose"
|
|
381
|
+
}
|
|
382
|
+
]
|
|
383
|
+
}
|
|
384
|
+
}
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "drizzle-kit",
|
|
3
|
+
"description": "Drizzle ORM CLI kit for generating and managing database migrations, schema introspection, and launching Drizzle Studio",
|
|
4
|
+
"category": "database-orm",
|
|
5
|
+
"platforms": ["linux", "macos", "windows"],
|
|
6
|
+
"shells": ["bash", "zsh", "fish", "powershell"],
|
|
7
|
+
"subcommands": [
|
|
8
|
+
{
|
|
9
|
+
"name": "generate",
|
|
10
|
+
"description": "Generate SQL migration files based on schema changes. Compares current schema definitions against previous snapshots and produces incremental migration SQL files.",
|
|
11
|
+
"args": [],
|
|
12
|
+
"options": [
|
|
13
|
+
{"name": "--config", "description": "Path to drizzle config file", "type": "string"},
|
|
14
|
+
{"name": "--schema", "description": "Path to TypeScript schema file(s) or glob pattern", "type": "string"},
|
|
15
|
+
{"name": "--out", "description": "Output directory for migration files", "type": "string"},
|
|
16
|
+
{"name": "--dialect", "description": "Database dialect to use", "type": "string"},
|
|
17
|
+
{"name": "--driver", "description": "Driver to use for database connection", "type": "string"},
|
|
18
|
+
{"name": "--name", "description": "Custom name for the generated migration", "type": "string"},
|
|
19
|
+
{"name": "--breakpoints", "description": "Include breakpoint comments in SQL migration files"},
|
|
20
|
+
{"name": "--custom", "description": "Generate an empty custom migration file for manual SQL"}
|
|
21
|
+
],
|
|
22
|
+
"examples": [
|
|
23
|
+
"drizzle-kit generate",
|
|
24
|
+
"drizzle-kit generate --config=drizzle.config.ts",
|
|
25
|
+
"drizzle-kit generate --schema=./src/db/schema.ts --out=./drizzle/migrations",
|
|
26
|
+
"drizzle-kit generate --dialect=postgresql --name=add_users_table",
|
|
27
|
+
"drizzle-kit generate --custom --name=seed_data"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "push",
|
|
32
|
+
"description": "Push schema changes directly to the database without generating migration files. Useful for rapid prototyping and development environments.",
|
|
33
|
+
"args": [],
|
|
34
|
+
"options": [
|
|
35
|
+
{"name": "--config", "description": "Path to drizzle config file", "type": "string"},
|
|
36
|
+
{"name": "--schema", "description": "Path to TypeScript schema file(s)", "type": "string"},
|
|
37
|
+
{"name": "--dialect", "description": "Database dialect (postgresql, mysql, sqlite)", "type": "string"},
|
|
38
|
+
{"name": "--driver", "description": "Driver to use for database connection", "type": "string"},
|
|
39
|
+
{"name": "--url", "description": "Database connection URL", "type": "string"},
|
|
40
|
+
{"name": "--verbose", "description": "Show verbose output including SQL statements"},
|
|
41
|
+
{"name": "--strict", "description": "Always ask for confirmation on data-loss statements"},
|
|
42
|
+
{"name": "--force", "description": "Auto-accept all data-loss statements"},
|
|
43
|
+
{"name": "--host", "description": "Database host", "type": "string"},
|
|
44
|
+
{"name": "--port", "description": "Database port number", "type": "string"},
|
|
45
|
+
{"name": "--user", "description": "Database user", "type": "string"},
|
|
46
|
+
{"name": "--password", "description": "Database password", "type": "string"},
|
|
47
|
+
{"name": "--database", "description": "Database name", "type": "string"},
|
|
48
|
+
{"name": "--ssl", "description": "Use SSL for database connection"}
|
|
49
|
+
],
|
|
50
|
+
"examples": [
|
|
51
|
+
"drizzle-kit push",
|
|
52
|
+
"drizzle-kit push --dialect=postgresql --url=postgres://user:pass@localhost:5432/mydb",
|
|
53
|
+
"drizzle-kit push --config=drizzle.config.ts --verbose",
|
|
54
|
+
"drizzle-kit push --strict",
|
|
55
|
+
"drizzle-kit push --force"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "drop",
|
|
60
|
+
"description": "Drop a previously generated migration by selecting from a list of available migrations. Removes migration files and updates the snapshot journal.",
|
|
61
|
+
"args": [],
|
|
62
|
+
"options": [
|
|
63
|
+
{"name": "--config", "description": "Path to drizzle config file", "type": "string"},
|
|
64
|
+
{"name": "--out", "description": "Migrations directory path", "type": "string"}
|
|
65
|
+
],
|
|
66
|
+
"examples": [
|
|
67
|
+
"drizzle-kit drop",
|
|
68
|
+
"drizzle-kit drop --out=./drizzle/migrations",
|
|
69
|
+
"drizzle-kit drop --config=drizzle.config.ts"
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "pull",
|
|
74
|
+
"description": "Introspect an existing database and generate a TypeScript Drizzle schema from the current database structure. Also known as database introspection.",
|
|
75
|
+
"args": [],
|
|
76
|
+
"options": [
|
|
77
|
+
{"name": "--config", "description": "Path to drizzle config file", "type": "string"},
|
|
78
|
+
{"name": "--dialect", "description": "Database dialect (postgresql, mysql, sqlite)", "type": "string"},
|
|
79
|
+
{"name": "--driver", "description": "Driver to use for database connection", "type": "string"},
|
|
80
|
+
{"name": "--url", "description": "Database connection URL", "type": "string"},
|
|
81
|
+
{"name": "--out", "description": "Output directory for schema files", "type": "string"},
|
|
82
|
+
{"name": "--host", "description": "Database host", "type": "string"},
|
|
83
|
+
{"name": "--port", "description": "Database port number", "type": "string"},
|
|
84
|
+
{"name": "--user", "description": "Database user", "type": "string"},
|
|
85
|
+
{"name": "--password", "description": "Database password", "type": "string"},
|
|
86
|
+
{"name": "--database", "description": "Database name", "type": "string"},
|
|
87
|
+
{"name": "--schema", "description": "Schema/namespace to introspect", "type": "string"},
|
|
88
|
+
{"name": "--breakpoints", "description": "Include breakpoint comments in SQL files"},
|
|
89
|
+
{"name": "--casing", "description": "Column casing style: camelCase or snake_case", "type": "string"}
|
|
90
|
+
],
|
|
91
|
+
"examples": [
|
|
92
|
+
"drizzle-kit pull",
|
|
93
|
+
"drizzle-kit pull --dialect=postgresql --url=postgres://user:pass@localhost:5432/mydb",
|
|
94
|
+
"drizzle-kit pull --config=drizzle.config.ts --out=./src/db/schema",
|
|
95
|
+
"drizzle-kit pull --dialect=mysql --host=localhost --port=3306 --user=root --database=mydb",
|
|
96
|
+
"drizzle-kit pull --casing=camelCase"
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "check",
|
|
101
|
+
"description": "Check consistency of generated migrations. Verifies that migration files have not been modified after generation and match expected snapshots.",
|
|
102
|
+
"args": [],
|
|
103
|
+
"options": [
|
|
104
|
+
{"name": "--config", "description": "Path to drizzle config file", "type": "string"},
|
|
105
|
+
{"name": "--out", "description": "Migrations directory path", "type": "string"},
|
|
106
|
+
{"name": "--dialect", "description": "Database dialect", "type": "string"}
|
|
107
|
+
],
|
|
108
|
+
"examples": [
|
|
109
|
+
"drizzle-kit check",
|
|
110
|
+
"drizzle-kit check --config=drizzle.config.ts",
|
|
111
|
+
"drizzle-kit check --out=./drizzle/migrations"
|
|
112
|
+
]
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"name": "up",
|
|
116
|
+
"description": "Apply pending migrations to the database. Upgrades migration snapshots to the latest version of the Drizzle Kit journal format.",
|
|
117
|
+
"args": [],
|
|
118
|
+
"options": [
|
|
119
|
+
{"name": "--config", "description": "Path to drizzle config file", "type": "string"},
|
|
120
|
+
{"name": "--out", "description": "Migrations directory path", "type": "string"},
|
|
121
|
+
{"name": "--dialect", "description": "Database dialect", "type": "string"}
|
|
122
|
+
],
|
|
123
|
+
"examples": [
|
|
124
|
+
"drizzle-kit up",
|
|
125
|
+
"drizzle-kit up --config=drizzle.config.ts",
|
|
126
|
+
"drizzle-kit up --out=./drizzle/migrations --dialect=postgresql"
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "studio",
|
|
131
|
+
"description": "Open Drizzle Studio, a visual database browser and editor GUI. Runs a local web server for browsing tables, editing data, and running queries.",
|
|
132
|
+
"args": [],
|
|
133
|
+
"options": [
|
|
134
|
+
{"name": "--config", "description": "Path to drizzle config file", "type": "string"},
|
|
135
|
+
{"name": "--port", "description": "Port for the Drizzle Studio server", "type": "string"},
|
|
136
|
+
{"name": "--host", "description": "Host for the Drizzle Studio server", "type": "string"},
|
|
137
|
+
{"name": "--verbose", "description": "Show verbose output"}
|
|
138
|
+
],
|
|
139
|
+
"examples": [
|
|
140
|
+
"drizzle-kit studio",
|
|
141
|
+
"drizzle-kit studio --port=4983",
|
|
142
|
+
"drizzle-kit studio --config=drizzle.config.ts --verbose"
|
|
143
|
+
]
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "migrate",
|
|
147
|
+
"description": "Run all pending migrations against the database. Reads the migration directory and applies any unapplied migration files in order.",
|
|
148
|
+
"args": [],
|
|
149
|
+
"options": [
|
|
150
|
+
{"name": "--config", "description": "Path to drizzle config file", "type": "string"}
|
|
151
|
+
],
|
|
152
|
+
"examples": [
|
|
153
|
+
"drizzle-kit migrate",
|
|
154
|
+
"drizzle-kit migrate --config=drizzle.config.ts"
|
|
155
|
+
]
|
|
156
|
+
}
|
|
157
|
+
],
|
|
158
|
+
"globalOptions": [
|
|
159
|
+
{"name": "--version", "short": "-V", "description": "Show drizzle-kit version"},
|
|
160
|
+
{"name": "--help", "short": "-h", "description": "Show help information"},
|
|
161
|
+
{"name": "--config", "description": "Path to the drizzle configuration file", "type": "string"},
|
|
162
|
+
{"name": "--dialect", "description": "Database dialect: postgresql, mysql, sqlite, turso", "type": "string"},
|
|
163
|
+
{"name": "--verbose", "description": "Enable verbose logging output"}
|
|
164
|
+
],
|
|
165
|
+
"examples": [
|
|
166
|
+
"npx drizzle-kit generate",
|
|
167
|
+
"npx drizzle-kit push --dialect=postgresql",
|
|
168
|
+
"npx drizzle-kit pull --url=postgres://user:pass@localhost:5432/mydb",
|
|
169
|
+
"npx drizzle-kit studio",
|
|
170
|
+
"npx drizzle-kit generate --name=add_users_table",
|
|
171
|
+
"npx drizzle-kit push --config=./drizzle.config.ts --verbose",
|
|
172
|
+
"npx drizzle-kit drop",
|
|
173
|
+
"npx drizzle-kit check",
|
|
174
|
+
"npx drizzle-kit up",
|
|
175
|
+
"npx drizzle-kit migrate"
|
|
176
|
+
],
|
|
177
|
+
"relatedCommands": ["prisma", "typeorm", "node", "npm", "npx"],
|
|
178
|
+
"contextEngine": {
|
|
179
|
+
"detectors": [
|
|
180
|
+
{
|
|
181
|
+
"name": "drizzle_config_detect",
|
|
182
|
+
"description": "Detect drizzle configuration file in the project",
|
|
183
|
+
"command": "find . -maxdepth 2 -name 'drizzle.config.*' -type f 2>/dev/null | head -5",
|
|
184
|
+
"parser": "lines",
|
|
185
|
+
"cacheFor": 60
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "drizzle_schema_detect",
|
|
189
|
+
"description": "Detect drizzle schema files in the project",
|
|
190
|
+
"command": "find . -path '*/db/schema*' -o -path '*/drizzle/schema*' 2>/dev/null | head -10",
|
|
191
|
+
"parser": "lines",
|
|
192
|
+
"cacheFor": 60
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "drizzle_migrations_detect",
|
|
196
|
+
"description": "Detect existing drizzle migration files",
|
|
197
|
+
"command": "find . -path '*/drizzle/migrations/*' -name '*.sql' -type f 2>/dev/null | head -10",
|
|
198
|
+
"parser": "lines",
|
|
199
|
+
"cacheFor": 30
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"name": "drizzle_kit_version",
|
|
203
|
+
"description": "Get installed drizzle-kit version",
|
|
204
|
+
"command": "npx drizzle-kit --version 2>/dev/null || echo 'not installed'",
|
|
205
|
+
"parser": "lines",
|
|
206
|
+
"cacheFor": 120
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"name": "drizzle_package_detect",
|
|
210
|
+
"description": "Detect drizzle-kit in package.json dependencies",
|
|
211
|
+
"command": "cat package.json 2>/dev/null | grep -E 'drizzle-(kit|orm)' | head -5",
|
|
212
|
+
"parser": "lines",
|
|
213
|
+
"cacheFor": 60
|
|
214
|
+
}
|
|
215
|
+
]
|
|
216
|
+
}
|
|
217
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "expo",
|
|
3
|
+
"description": "Expo CLI for React Native",
|
|
4
|
+
"category": "Mobile Development",
|
|
5
|
+
"platforms": [
|
|
6
|
+
"linux",
|
|
7
|
+
"macos",
|
|
8
|
+
"windows"
|
|
9
|
+
],
|
|
10
|
+
"shells": [
|
|
11
|
+
"bash",
|
|
12
|
+
"zsh",
|
|
13
|
+
"powershell"
|
|
14
|
+
],
|
|
15
|
+
"subcommands": [
|
|
16
|
+
{
|
|
17
|
+
"name": "start",
|
|
18
|
+
"description": "Start the local Expo development server"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "build",
|
|
22
|
+
"description": "Build the app for Android or iOS"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "install",
|
|
26
|
+
"description": "Install a package and its dependencies"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"globalOptions": [
|
|
30
|
+
{
|
|
31
|
+
"name": "-c",
|
|
32
|
+
"description": "Clear bundler cache"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"examples": [
|
|
36
|
+
{
|
|
37
|
+
"command": "npx expo start",
|
|
38
|
+
"description": "Start bundler"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"command": "npx expo start -c",
|
|
42
|
+
"description": "Start bundler and clear cache"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"command": "npx expo install expo-camera",
|
|
46
|
+
"description": "Install Expo module"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"relatedCommands": [
|
|
50
|
+
"react-native",
|
|
51
|
+
"adb",
|
|
52
|
+
"npm"
|
|
53
|
+
],
|
|
54
|
+
"contextEngine": {
|
|
55
|
+
"detectors": [
|
|
56
|
+
{
|
|
57
|
+
"name": "app_json",
|
|
58
|
+
"description": "Expo App Configuration",
|
|
59
|
+
"command": "cat app.json 2>/dev/null | jq '.expo' -c 2>/dev/null",
|
|
60
|
+
"parser": "text",
|
|
61
|
+
"cacheFor": 300
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
}
|