@enjoys/context-engine 1.6.0 → 1.7.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.
Files changed (546) hide show
  1. package/README.md +8 -8
  2. package/data/color/abap.json +8 -8
  3. package/data/color/angular.json +11 -36
  4. package/data/color/apex.json +8 -8
  5. package/data/color/awk.json +40 -80
  6. package/data/color/azcli.json +8 -8
  7. package/data/color/bicep.json +8 -8
  8. package/data/color/c.json +4 -4
  9. package/data/color/caddy.json +8 -8
  10. package/data/color/cameligo.json +8 -8
  11. package/data/color/clojure.json +8 -8
  12. package/data/color/coffee.json +10 -17
  13. package/data/color/cpp.json +4 -4
  14. package/data/color/crontab.json +8 -8
  15. package/data/color/csharp.json +49 -109
  16. package/data/color/css.json +8 -32
  17. package/data/color/cypher.json +8 -8
  18. package/data/color/docker-compose.json +8 -8
  19. package/data/color/dockerfile.json +8 -8
  20. package/data/color/doctest.json +8 -8
  21. package/data/color/dotenv.json +8 -8
  22. package/data/color/ecl.json +8 -8
  23. package/data/color/elixir.json +49 -109
  24. package/data/color/flow9.json +8 -8
  25. package/data/color/freemarker2.json +61 -121
  26. package/data/color/go.json +4 -4
  27. package/data/color/graphql.json +8 -8
  28. package/data/color/hcl.json +8 -8
  29. package/data/color/html.json +13 -43
  30. package/data/color/ini.json +8 -8
  31. package/data/color/java.json +49 -109
  32. package/data/color/javascript.json +13 -43
  33. package/data/color/json.json +8 -8
  34. package/data/color/julia.json +49 -109
  35. package/data/color/less.json +10 -17
  36. package/data/color/lexon.json +8 -8
  37. package/data/color/liquid.json +61 -121
  38. package/data/color/lua.json +4 -4
  39. package/data/color/m3.json +8 -8
  40. package/data/color/makefile.json +8 -8
  41. package/data/color/markdown.json +61 -121
  42. package/data/color/mdx.json +61 -121
  43. package/data/color/mips.json +8 -8
  44. package/data/color/msdax.json +8 -8
  45. package/data/color/mysql.json +8 -8
  46. package/data/color/nestjs.json +52 -18
  47. package/data/color/nextjs.json +60 -22
  48. package/data/color/nginx.json +8 -8
  49. package/data/color/objective-c.json +4 -4
  50. package/data/color/pascal.json +8 -8
  51. package/data/color/pascaligo.json +8 -8
  52. package/data/color/perl.json +4 -4
  53. package/data/color/pgsql.json +8 -8
  54. package/data/color/php.json +13 -43
  55. package/data/color/pla.json +8 -8
  56. package/data/color/postiats.json +8 -8
  57. package/data/color/powerquery.json +8 -8
  58. package/data/color/powershell.json +40 -80
  59. package/data/color/protobuf.json +8 -8
  60. package/data/color/python.json +49 -109
  61. package/data/color/qsharp.json +8 -8
  62. package/data/color/r.json +49 -109
  63. package/data/color/razor.json +61 -121
  64. package/data/color/react.json +65 -93
  65. package/data/color/redis-cli.json +8 -8
  66. package/data/color/redis.json +8 -8
  67. package/data/color/redshift.json +8 -8
  68. package/data/color/restructuredtext.json +8 -8
  69. package/data/color/ruby.json +49 -109
  70. package/data/color/rust.json +4 -4
  71. package/data/color/sb.json +8 -8
  72. package/data/color/scala.json +2 -12
  73. package/data/color/scheme.json +8 -8
  74. package/data/color/scss.json +10 -17
  75. package/data/color/shadcn.json +11 -36
  76. package/data/color/shell.json +8 -48
  77. package/data/color/sol.json +8 -8
  78. package/data/color/sparql.json +8 -8
  79. package/data/color/sql.json +8 -8
  80. package/data/color/ssh_config.json +8 -8
  81. package/data/color/st.json +8 -8
  82. package/data/color/swift.json +56 -37
  83. package/data/color/systemd.json +8 -8
  84. package/data/color/systemverilog.json +8 -8
  85. package/data/color/tailwindcss.json +6 -24
  86. package/data/color/tcl.json +40 -80
  87. package/data/color/toml.json +8 -8
  88. package/data/color/twig.json +61 -121
  89. package/data/color/typescript.json +13 -43
  90. package/data/color/vb.json +49 -109
  91. package/data/color/wgsl.json +8 -8
  92. package/data/color/xml.json +61 -121
  93. package/data/color/yaml.json +8 -8
  94. package/data/commands/air.json +117 -59
  95. package/data/commands/alembic.json +487 -301
  96. package/data/commands/aliyun.json +158 -0
  97. package/data/commands/amplify.json +174 -0
  98. package/data/commands/ansible.json +236 -24
  99. package/data/commands/apt-get.json +244 -81
  100. package/data/commands/apt.json +294 -91
  101. package/data/commands/argo.json +212 -0
  102. package/data/commands/argocd.json +144 -35
  103. package/data/commands/atlas.json +956 -426
  104. package/data/commands/aws-copilot.json +161 -0
  105. package/data/commands/aws-vault.json +266 -140
  106. package/data/commands/az-devops.json +155 -0
  107. package/data/commands/bazel.json +328 -103
  108. package/data/commands/bq.json +177 -0
  109. package/data/commands/brew.json +444 -140
  110. package/data/commands/btop.json +132 -59
  111. package/data/commands/cabal.json +1 -1
  112. package/data/commands/calicoctl.json +154 -0
  113. package/data/commands/cd.json +90 -48
  114. package/data/commands/chamber.json +128 -0
  115. package/data/commands/choco.json +430 -134
  116. package/data/commands/chown.json +139 -59
  117. package/data/commands/cilium.json +154 -0
  118. package/data/commands/civo.json +147 -0
  119. package/data/commands/clickhouse-client.json +183 -74
  120. package/data/commands/cloudflared.json +133 -0
  121. package/data/commands/cmake.json +301 -110
  122. package/data/commands/cmctl.json +143 -0
  123. package/data/commands/cockroach.json +269 -92
  124. package/data/commands/conda.json +435 -94
  125. package/data/commands/consul.json +377 -125
  126. package/data/commands/crossplane.json +119 -0
  127. package/data/commands/crystal.json +1 -1
  128. package/data/commands/dbmate.json +498 -257
  129. package/data/commands/devspace.json +198 -0
  130. package/data/commands/django-admin.json +489 -86
  131. package/data/commands/dnf.json +428 -137
  132. package/data/commands/dockerfile.json +1 -1
  133. package/data/commands/doctl.json +510 -156
  134. package/data/commands/doppler.json +161 -0
  135. package/data/commands/dotnet.json +1 -1
  136. package/data/commands/drizzle-kit.json +435 -217
  137. package/data/commands/eb.json +201 -0
  138. package/data/commands/ecs-cli.json +132 -0
  139. package/data/commands/erlang.json +1 -1
  140. package/data/commands/eslint.json +193 -69
  141. package/data/commands/expo.json +65 -65
  142. package/data/commands/firebase.json +406 -97
  143. package/data/commands/flask.json +254 -79
  144. package/data/commands/flux.json +190 -0
  145. package/data/commands/flyctl.json +657 -148
  146. package/data/commands/flyway.json +580 -261
  147. package/data/commands/garden.json +180 -0
  148. package/data/commands/ghc.json +1 -1
  149. package/data/commands/glab.json +577 -116
  150. package/data/commands/gofmt.json +101 -51
  151. package/data/commands/golangci-lint.json +243 -89
  152. package/data/commands/gradle.json +182 -44
  153. package/data/commands/gsutil.json +197 -0
  154. package/data/commands/gunicorn.json +243 -83
  155. package/data/commands/hcloud.json +169 -0
  156. package/data/commands/helmfile.json +178 -0
  157. package/data/commands/heroku.json +239 -0
  158. package/data/commands/hg.json +502 -92
  159. package/data/commands/htop.json +151 -56
  160. package/data/commands/ibmcloud.json +184 -0
  161. package/data/commands/infisical.json +127 -0
  162. package/data/commands/influx.json +363 -119
  163. package/data/commands/iptables.json +251 -86
  164. package/data/commands/istioctl.json +129 -23
  165. package/data/commands/javac.json +1 -1
  166. package/data/commands/just.json +262 -93
  167. package/data/commands/k3d.json +156 -0
  168. package/data/commands/k3s.json +134 -0
  169. package/data/commands/k9s.json +169 -62
  170. package/data/commands/kamel.json +155 -0
  171. package/data/commands/kn.json +160 -0
  172. package/data/commands/kube-score.json +86 -0
  173. package/data/commands/kubeconform.json +98 -0
  174. package/data/commands/kubectx.json +58 -0
  175. package/data/commands/kubens.json +45 -0
  176. package/data/commands/kustomize.json +82 -17
  177. package/data/commands/lightsail.json +168 -0
  178. package/data/commands/linkerd.json +174 -0
  179. package/data/commands/linode-cli.json +360 -117
  180. package/data/commands/linux.json +1 -1
  181. package/data/commands/liquibase.json +739 -399
  182. package/data/commands/manifest.json +1 -1
  183. package/data/commands/mc.json +236 -0
  184. package/data/commands/minikube.json +264 -60
  185. package/data/commands/mix.json +1 -1
  186. package/data/commands/mongosh.json +174 -73
  187. package/data/commands/mvn.json +179 -45
  188. package/data/commands/mysql.json +1 -1
  189. package/data/commands/nest.json +270 -69
  190. package/data/commands/netlify.json +384 -92
  191. package/data/commands/next.json +221 -71
  192. package/data/commands/nft.json +299 -105
  193. package/data/commands/nim.json +1 -1
  194. package/data/commands/nomad.json +398 -139
  195. package/data/commands/npx.json +141 -58
  196. package/data/commands/nx.json +348 -82
  197. package/data/commands/ocaml.json +1 -1
  198. package/data/commands/oci.json +184 -0
  199. package/data/commands/okteto.json +164 -0
  200. package/data/commands/opam.json +1 -1
  201. package/data/commands/openstack.json +212 -0
  202. package/data/commands/packer.json +273 -92
  203. package/data/commands/pacman.json +228 -82
  204. package/data/commands/pg_dump.json +233 -83
  205. package/data/commands/pg_restore.json +224 -74
  206. package/data/commands/pipenv.json +300 -79
  207. package/data/commands/pipx.json +241 -53
  208. package/data/commands/poetry.json +521 -96
  209. package/data/commands/popeye.json +109 -0
  210. package/data/commands/prettier.json +201 -71
  211. package/data/commands/pulumi.json +409 -130
  212. package/data/commands/pytest.json +240 -92
  213. package/data/commands/railway.json +343 -91
  214. package/data/commands/rancher.json +141 -0
  215. package/data/commands/rclone.json +275 -0
  216. package/data/commands/react-native.json +57 -57
  217. package/data/commands/rebar3.json +1 -1
  218. package/data/commands/render.json +235 -72
  219. package/data/commands/rustc.json +1 -1
  220. package/data/commands/rustup.json +339 -103
  221. package/data/commands/s3cmd.json +201 -0
  222. package/data/commands/scala.json +1 -1
  223. package/data/commands/scp.json +146 -60
  224. package/data/commands/scw.json +169 -0
  225. package/data/commands/sequelize.json +629 -342
  226. package/data/commands/skaffold.json +189 -0
  227. package/data/commands/skopeo.json +100 -19
  228. package/data/commands/sops.json +112 -24
  229. package/data/commands/sqlite3.json +167 -68
  230. package/data/commands/stack.json +1 -1
  231. package/data/commands/stern.json +124 -0
  232. package/data/commands/supabase.json +433 -108
  233. package/data/commands/svn.json +509 -75
  234. package/data/commands/swiftc.json +1 -1
  235. package/data/commands/telepresence.json +122 -0
  236. package/data/commands/terraform.json +1505 -824
  237. package/data/commands/terragrunt.json +217 -83
  238. package/data/commands/tilt.json +160 -0
  239. package/data/commands/tkn.json +150 -0
  240. package/data/commands/top.json +167 -61
  241. package/data/commands/tsc.json +234 -85
  242. package/data/commands/turbo.json +263 -72
  243. package/data/commands/typeorm.json +427 -262
  244. package/data/commands/ufw.json +254 -76
  245. package/data/commands/unzip.json +154 -59
  246. package/data/commands/upcloud.json +129 -0
  247. package/data/commands/uvicorn.json +215 -73
  248. package/data/commands/vault.json +462 -144
  249. package/data/commands/velero.json +141 -0
  250. package/data/commands/vercel.json +410 -98
  251. package/data/commands/vite.json +239 -63
  252. package/data/commands/vultr.json +157 -0
  253. package/data/commands/wasm-pack.json +254 -90
  254. package/data/commands/winget.json +466 -131
  255. package/data/commands/wrangler.json +129 -29
  256. package/data/commands/yum.json +323 -98
  257. package/data/commands/zig.json +1 -1
  258. package/data/commands/zip.json +159 -59
  259. package/data/completion/abap.json +423 -341
  260. package/data/completion/apex.json +423 -43
  261. package/data/completion/awk.json +1 -45
  262. package/data/completion/azcli.json +58 -115
  263. package/data/completion/bicep.json +90 -90
  264. package/data/completion/cameligo.json +533 -487
  265. package/data/completion/clojure.json +533 -488
  266. package/data/completion/coffee.json +522 -479
  267. package/data/completion/crontab.json +1 -34
  268. package/data/completion/cypher.json +687 -628
  269. package/data/completion/docker-compose.json +962 -959
  270. package/data/completion/dockerfile.json +1270 -1285
  271. package/data/completion/doctest.json +489 -526
  272. package/data/completion/ecl.json +588 -598
  273. package/data/completion/elixir.json +709 -649
  274. package/data/completion/flow9.json +401 -376
  275. package/data/completion/freemarker2.json +632 -579
  276. package/data/completion/go.json +10037 -10037
  277. package/data/completion/julia.json +698 -638
  278. package/data/completion/less.json +412 -378
  279. package/data/completion/lexon.json +80 -52
  280. package/data/completion/liquid.json +544 -499
  281. package/data/completion/lua.json +2535 -2634
  282. package/data/completion/m3.json +643 -587
  283. package/data/completion/makefile.json +1 -56
  284. package/data/completion/markdown.json +1 -56
  285. package/data/completion/mips.json +83 -49
  286. package/data/completion/msdax.json +511 -467
  287. package/data/completion/mysql.json +676 -638
  288. package/data/completion/objective-c.json +687 -629
  289. package/data/completion/pascal.json +709 -649
  290. package/data/completion/pascaligo.json +544 -517
  291. package/data/completion/perl.json +1 -89
  292. package/data/completion/pgsql.json +698 -638
  293. package/data/completion/postiats.json +445 -417
  294. package/data/completion/powerquery.json +621 -587
  295. package/data/completion/powershell.json +1 -166
  296. package/data/completion/protobuf.json +7 -117
  297. package/data/completion/qsharp.json +643 -587
  298. package/data/completion/r.json +2469 -1985
  299. package/data/completion/razor.json +533 -488
  300. package/data/completion/redis-cli.json +120 -60
  301. package/data/completion/redis.json +423 -389
  302. package/data/completion/redshift.json +698 -638
  303. package/data/completion/restructuredtext.json +544 -499
  304. package/data/completion/ruby.json +1930 -1531
  305. package/data/completion/sb.json +434 -398
  306. package/data/completion/scheme.json +555 -510
  307. package/data/completion/scss.json +544 -500
  308. package/data/completion/shell.json +115 -70
  309. package/data/completion/sol.json +720 -660
  310. package/data/completion/sparql.json +643 -587
  311. package/data/completion/st.json +698 -638
  312. package/data/completion/systemverilog.json +698 -638
  313. package/data/completion/tailwindcss.json +2821 -284
  314. package/data/completion/tcl.json +544 -499
  315. package/data/completion/twig.json +555 -510
  316. package/data/completion/vb.json +720 -660
  317. package/data/completion/wgsl.json +709 -649
  318. package/data/foldingRange/abap.json +0 -24
  319. package/data/foldingRange/angular.json +0 -18
  320. package/data/foldingRange/apex.json +0 -24
  321. package/data/foldingRange/awk.json +0 -18
  322. package/data/foldingRange/azcli.json +0 -18
  323. package/data/foldingRange/bicep.json +0 -18
  324. package/data/foldingRange/c.json +0 -24
  325. package/data/foldingRange/caddy.json +0 -18
  326. package/data/foldingRange/cameligo.json +0 -18
  327. package/data/foldingRange/clojure.json +0 -18
  328. package/data/foldingRange/coffee.json +0 -18
  329. package/data/foldingRange/cpp.json +0 -24
  330. package/data/foldingRange/crontab.json +0 -18
  331. package/data/foldingRange/csharp.json +0 -24
  332. package/data/foldingRange/css.json +5 -19
  333. package/data/foldingRange/cypher.json +0 -18
  334. package/data/foldingRange/dart.json +0 -24
  335. package/data/foldingRange/docker-compose.json +0 -18
  336. package/data/foldingRange/dockerfile.json +0 -18
  337. package/data/foldingRange/doctest.json +0 -18
  338. package/data/foldingRange/dotenv.json +0 -18
  339. package/data/foldingRange/ecl.json +0 -30
  340. package/data/foldingRange/elixir.json +0 -24
  341. package/data/foldingRange/flow9.json +0 -12
  342. package/data/foldingRange/freemarker2.json +0 -12
  343. package/data/foldingRange/go.json +0 -24
  344. package/data/foldingRange/graphql.json +0 -12
  345. package/data/foldingRange/hcl.json +0 -12
  346. package/data/foldingRange/html.json +0 -18
  347. package/data/foldingRange/ini.json +0 -18
  348. package/data/foldingRange/java.json +0 -24
  349. package/data/foldingRange/javascript.json +0 -24
  350. package/data/foldingRange/json.json +0 -12
  351. package/data/foldingRange/julia.json +0 -12
  352. package/data/foldingRange/kotlin.json +0 -18
  353. package/data/foldingRange/less.json +0 -18
  354. package/data/foldingRange/lexon.json +0 -12
  355. package/data/foldingRange/liquid.json +0 -18
  356. package/data/foldingRange/lua.json +0 -24
  357. package/data/foldingRange/m3.json +0 -18
  358. package/data/foldingRange/makefile.json +0 -12
  359. package/data/foldingRange/markdown.json +0 -12
  360. package/data/foldingRange/mdx.json +0 -18
  361. package/data/foldingRange/mips.json +0 -18
  362. package/data/foldingRange/msdax.json +0 -12
  363. package/data/foldingRange/mysql.json +0 -18
  364. package/data/foldingRange/nestjs.json +0 -24
  365. package/data/foldingRange/nextjs.json +0 -24
  366. package/data/foldingRange/nginx.json +0 -12
  367. package/data/foldingRange/objective-c.json +0 -18
  368. package/data/foldingRange/pascal.json +0 -18
  369. package/data/foldingRange/pascaligo.json +0 -12
  370. package/data/foldingRange/perl.json +0 -18
  371. package/data/foldingRange/pgsql.json +0 -18
  372. package/data/foldingRange/php.json +0 -18
  373. package/data/foldingRange/pla.json +0 -12
  374. package/data/foldingRange/postiats.json +0 -18
  375. package/data/foldingRange/powerquery.json +0 -12
  376. package/data/foldingRange/powershell.json +0 -18
  377. package/data/foldingRange/protobuf.json +0 -12
  378. package/data/foldingRange/python.json +0 -18
  379. package/data/foldingRange/qsharp.json +0 -12
  380. package/data/foldingRange/r.json +0 -12
  381. package/data/foldingRange/razor.json +0 -18
  382. package/data/foldingRange/react.json +0 -24
  383. package/data/foldingRange/redis-cli.json +0 -12
  384. package/data/foldingRange/redis.json +0 -18
  385. package/data/foldingRange/redshift.json +0 -18
  386. package/data/foldingRange/restructuredtext.json +0 -12
  387. package/data/foldingRange/ruby.json +0 -24
  388. package/data/foldingRange/rust.json +0 -18
  389. package/data/foldingRange/sb.json +0 -18
  390. package/data/foldingRange/scala.json +0 -18
  391. package/data/foldingRange/scheme.json +0 -12
  392. package/data/foldingRange/scss.json +0 -18
  393. package/data/foldingRange/shadcn.json +0 -24
  394. package/data/foldingRange/shell.json +0 -18
  395. package/data/foldingRange/sol.json +0 -18
  396. package/data/foldingRange/sparql.json +0 -12
  397. package/data/foldingRange/sql.json +0 -18
  398. package/data/foldingRange/ssh_config.json +0 -12
  399. package/data/foldingRange/st.json +0 -18
  400. package/data/foldingRange/swift.json +0 -18
  401. package/data/foldingRange/systemd.json +0 -12
  402. package/data/foldingRange/systemverilog.json +0 -12
  403. package/data/foldingRange/tailwindcss.json +0 -12
  404. package/data/foldingRange/tcl.json +0 -18
  405. package/data/foldingRange/toml.json +0 -12
  406. package/data/foldingRange/twig.json +0 -12
  407. package/data/foldingRange/typescript.json +0 -24
  408. package/data/foldingRange/vb.json +0 -18
  409. package/data/foldingRange/wgsl.json +0 -12
  410. package/data/foldingRange/xml.json +0 -18
  411. package/data/foldingRange/yaml.json +0 -12
  412. package/data/formatting/awk.json +5 -5
  413. package/data/formatting/azcli.json +1 -1
  414. package/data/formatting/c.json +5 -5
  415. package/data/formatting/caddy.json +4 -4
  416. package/data/formatting/cpp.json +5 -5
  417. package/data/formatting/crontab.json +2 -2
  418. package/data/formatting/csharp.json +5 -5
  419. package/data/formatting/dockerfile.json +4 -3
  420. package/data/formatting/dotenv.json +2 -2
  421. package/data/formatting/elixir.json +3 -3
  422. package/data/formatting/go.json +5 -5
  423. package/data/formatting/graphql.json +4 -4
  424. package/data/formatting/hcl.json +8 -8
  425. package/data/formatting/html.json +8 -8
  426. package/data/formatting/ini.json +4 -3
  427. package/data/formatting/java.json +5 -5
  428. package/data/formatting/javascript.json +5 -5
  429. package/data/formatting/json.json +4 -4
  430. package/data/formatting/less.json +8 -4
  431. package/data/formatting/lua.json +5 -5
  432. package/data/formatting/makefile.json +8 -4
  433. package/data/formatting/markdown.json +4 -4
  434. package/data/formatting/mips.json +2 -1
  435. package/data/formatting/mysql.json +1 -1
  436. package/data/formatting/nginx.json +5 -5
  437. package/data/formatting/perl.json +5 -5
  438. package/data/formatting/pgsql.json +1 -1
  439. package/data/formatting/php.json +5 -5
  440. package/data/formatting/powershell.json +5 -5
  441. package/data/formatting/protobuf.json +4 -4
  442. package/data/formatting/python.json +5 -5
  443. package/data/formatting/r.json +6 -6
  444. package/data/formatting/redis-cli.json +2 -2
  445. package/data/formatting/redshift.json +1 -1
  446. package/data/formatting/restructuredtext.json +2 -1
  447. package/data/formatting/ruby.json +5 -5
  448. package/data/formatting/rust.json +5 -5
  449. package/data/formatting/scala.json +6 -2
  450. package/data/formatting/scss.json +8 -4
  451. package/data/formatting/shell.json +1 -16
  452. package/data/formatting/sql.json +5 -5
  453. package/data/formatting/ssh_config.json +4 -3
  454. package/data/formatting/swift.json +6 -2
  455. package/data/formatting/systemd.json +2 -2
  456. package/data/formatting/toml.json +4 -3
  457. package/data/formatting/typescript.json +5 -5
  458. package/data/formatting/xml.json +8 -8
  459. package/data/formatting/yaml.json +4 -3
  460. package/data/links/abap.json +14 -14
  461. package/data/links/apex.json +18 -18
  462. package/data/links/awk.json +20 -20
  463. package/data/links/azcli.json +20 -20
  464. package/data/links/bicep.json +12 -12
  465. package/data/links/c.json +22 -22
  466. package/data/links/caddy.json +22 -22
  467. package/data/links/cameligo.json +20 -20
  468. package/data/links/clojure.json +12 -12
  469. package/data/links/coffee.json +14 -14
  470. package/data/links/cpp.json +22 -22
  471. package/data/links/crontab.json +22 -22
  472. package/data/links/csharp.json +22 -22
  473. package/data/links/cypher.json +18 -18
  474. package/data/links/dart.json +2 -2
  475. package/data/links/docker-compose.json +8 -8
  476. package/data/links/dockerfile.json +22 -22
  477. package/data/links/doctest.json +20 -20
  478. package/data/links/dotenv.json +20 -20
  479. package/data/links/ecl.json +18 -18
  480. package/data/links/elixir.json +12 -12
  481. package/data/links/flow9.json +22 -22
  482. package/data/links/freemarker2.json +10 -10
  483. package/data/links/go.json +23 -23
  484. package/data/links/graphql.json +18 -18
  485. package/data/links/hcl.json +22 -22
  486. package/data/links/html.json +19 -19
  487. package/data/links/ini.json +20 -20
  488. package/data/links/java.json +22 -22
  489. package/data/links/javascript.json +20 -20
  490. package/data/links/json.json +16 -16
  491. package/data/links/julia.json +16 -16
  492. package/data/links/kotlin.json +14 -14
  493. package/data/links/less.json +10 -10
  494. package/data/links/lexon.json +24 -24
  495. package/data/links/liquid.json +8 -8
  496. package/data/links/lua.json +22 -22
  497. package/data/links/m3.json +20 -20
  498. package/data/links/makefile.json +22 -22
  499. package/data/links/markdown.json +25 -25
  500. package/data/links/mdx.json +12 -12
  501. package/data/links/mips.json +22 -22
  502. package/data/links/msdax.json +22 -22
  503. package/data/links/mysql.json +17 -17
  504. package/data/links/nginx.json +22 -22
  505. package/data/links/objective-c.json +14 -14
  506. package/data/links/pascal.json +16 -16
  507. package/data/links/pascaligo.json +20 -20
  508. package/data/links/perl.json +22 -22
  509. package/data/links/pgsql.json +14 -14
  510. package/data/links/php.json +22 -22
  511. package/data/links/pla.json +24 -24
  512. package/data/links/postiats.json +18 -18
  513. package/data/links/powerquery.json +20 -20
  514. package/data/links/powershell.json +24 -24
  515. package/data/links/protobuf.json +22 -22
  516. package/data/links/python.json +27 -22
  517. package/data/links/qsharp.json +20 -20
  518. package/data/links/r.json +21 -21
  519. package/data/links/razor.json +8 -8
  520. package/data/links/redis-cli.json +22 -22
  521. package/data/links/redis.json +22 -22
  522. package/data/links/redshift.json +16 -16
  523. package/data/links/restructuredtext.json +10 -10
  524. package/data/links/ruby.json +22 -22
  525. package/data/links/rust.json +22 -22
  526. package/data/links/sb.json +24 -24
  527. package/data/links/scheme.json +12 -12
  528. package/data/links/scss.json +2 -2
  529. package/data/links/shell.json +1 -6
  530. package/data/links/sol.json +16 -16
  531. package/data/links/sparql.json +18 -18
  532. package/data/links/sql.json +18 -18
  533. package/data/links/ssh_config.json +22 -22
  534. package/data/links/st.json +20 -20
  535. package/data/links/swift.json +8 -8
  536. package/data/links/systemd.json +18 -18
  537. package/data/links/systemverilog.json +20 -20
  538. package/data/links/tcl.json +16 -16
  539. package/data/links/toml.json +16 -16
  540. package/data/links/typescript.json +20 -20
  541. package/data/links/vb.json +16 -16
  542. package/data/links/wgsl.json +24 -24
  543. package/data/links/xml.json +22 -22
  544. package/data/links/yaml.json +12 -12
  545. package/data/manifest.json +2 -2
  546. package/package.json +2 -2
@@ -1,257 +1,498 @@
1
- {
2
- "name": "dbmate",
3
- "description": "Dbmate is a lightweight, framework-agnostic database migration tool written in Go. It supports PostgreSQL, MySQL, SQLite, ClickHouse, and BigQuery with plain SQL migrations.",
4
- "category": "database-orm",
5
- "platforms": ["linux", "macos", "windows"],
6
- "shells": ["bash", "zsh", "fish", "powershell"],
7
- "subcommands": [
8
- {
9
- "name": "new",
10
- "description": "Create a new migration file with a timestamp prefix. The file contains empty -- migrate:up and -- migrate:down sections for writing SQL.",
11
- "args": [
12
- {"name": "name", "type": "string", "required": true, "description": "Name for the migration (used in the filename)"}
13
- ],
14
- "options": [],
15
- "examples": [
16
- "dbmate new create_users_table",
17
- "dbmate new add_email_to_users",
18
- "dbmate new create_orders_and_items",
19
- "dbmate new add_index_on_users_email",
20
- "dbmate -d ./migrations/postgres new create_sessions_table"
21
- ]
22
- },
23
- {
24
- "name": "up",
25
- "description": "Apply all pending migrations in chronological order. Creates the database if it does not exist. Skips migrations that have already been applied.",
26
- "args": [],
27
- "options": [
28
- {"name": "--url", "short": "-u", "description": "Database connection URL (overrides DATABASE_URL)", "type": "string"},
29
- {"name": "--env", "short": "-e", "description": "Environment variable name containing the database URL (default: DATABASE_URL)", "type": "string"},
30
- {"name": "--migrations-dir", "short": "-d", "description": "Path to the migrations directory", "type": "string"},
31
- {"name": "--migrations-table", "description": "Name of the migrations tracking table (default: schema_migrations)", "type": "string"},
32
- {"name": "--no-dump-schema", "description": "Skip updating the schema dump file after migration"},
33
- {"name": "--strict", "description": "Fail if migrations are applied out of order"},
34
- {"name": "--verbose", "description": "Show verbose output including SQL being executed"}
35
- ],
36
- "examples": [
37
- "dbmate up",
38
- "dbmate -u 'postgres://user:pass@localhost:5432/mydb?sslmode=disable' up",
39
- "dbmate -e MY_DATABASE_URL up",
40
- "dbmate -d ./db/migrations up",
41
- "dbmate up --strict",
42
- "dbmate up --verbose",
43
- "dbmate up --no-dump-schema"
44
- ]
45
- },
46
- {
47
- "name": "down",
48
- "description": "Roll back the most recently applied migration by executing its -- migrate:down section.",
49
- "args": [],
50
- "options": [
51
- {"name": "--url", "short": "-u", "description": "Database connection URL", "type": "string"},
52
- {"name": "--env", "short": "-e", "description": "Environment variable name for database URL", "type": "string"},
53
- {"name": "--migrations-dir", "short": "-d", "description": "Path to migrations directory", "type": "string"},
54
- {"name": "--migrations-table", "description": "Name of the migrations tracking table", "type": "string"},
55
- {"name": "--no-dump-schema", "description": "Skip updating the schema dump file"},
56
- {"name": "--verbose", "description": "Show verbose output"}
57
- ],
58
- "examples": [
59
- "dbmate down",
60
- "dbmate -u 'postgres://user:pass@localhost:5432/mydb' down",
61
- "dbmate down --verbose"
62
- ]
63
- },
64
- {
65
- "name": "rollback",
66
- "description": "Alias for the 'down' command. Roll back the most recently applied migration.",
67
- "args": [],
68
- "options": [
69
- {"name": "--url", "short": "-u", "description": "Database connection URL", "type": "string"},
70
- {"name": "--env", "short": "-e", "description": "Environment variable name for database URL", "type": "string"},
71
- {"name": "--migrations-dir", "short": "-d", "description": "Path to migrations directory", "type": "string"},
72
- {"name": "--verbose", "description": "Show verbose output"}
73
- ],
74
- "examples": [
75
- "dbmate rollback",
76
- "dbmate rollback --verbose"
77
- ]
78
- },
79
- {
80
- "name": "migrate",
81
- "description": "Apply all pending migrations (alias for 'up'). Creates the database if it doesn't exist and applies migrations in order.",
82
- "args": [],
83
- "options": [
84
- {"name": "--url", "short": "-u", "description": "Database connection URL", "type": "string"},
85
- {"name": "--env", "short": "-e", "description": "Environment variable name for database URL", "type": "string"},
86
- {"name": "--migrations-dir", "short": "-d", "description": "Path to migrations directory", "type": "string"},
87
- {"name": "--strict", "description": "Fail if migrations are out of order"},
88
- {"name": "--verbose", "description": "Show verbose output"}
89
- ],
90
- "examples": [
91
- "dbmate migrate",
92
- "dbmate -u 'mysql://root:pass@localhost:3306/mydb' migrate",
93
- "dbmate migrate --strict"
94
- ]
95
- },
96
- {
97
- "name": "create",
98
- "description": "Create the database specified in the connection URL if it does not already exist.",
99
- "args": [],
100
- "options": [
101
- {"name": "--url", "short": "-u", "description": "Database connection URL", "type": "string"},
102
- {"name": "--env", "short": "-e", "description": "Environment variable name for database URL", "type": "string"}
103
- ],
104
- "examples": [
105
- "dbmate create",
106
- "dbmate -u 'postgres://user:pass@localhost:5432/newdb' create",
107
- "dbmate -e STAGING_DATABASE_URL create"
108
- ]
109
- },
110
- {
111
- "name": "drop",
112
- "description": "Drop the database specified in the connection URL. WARNING: This permanently destroys the database and all data.",
113
- "args": [],
114
- "options": [
115
- {"name": "--url", "short": "-u", "description": "Database connection URL", "type": "string"},
116
- {"name": "--env", "short": "-e", "description": "Environment variable name for database URL", "type": "string"}
117
- ],
118
- "examples": [
119
- "dbmate drop",
120
- "dbmate -u 'postgres://user:pass@localhost:5432/testdb' drop",
121
- "dbmate -e TEST_DATABASE_URL drop"
122
- ]
123
- },
124
- {
125
- "name": "dump",
126
- "description": "Dump the current database schema to a file (default: db/schema.sql). Uses the database's native dump utility (pg_dump, mysqldump, etc.).",
127
- "args": [],
128
- "options": [
129
- {"name": "--url", "short": "-u", "description": "Database connection URL", "type": "string"},
130
- {"name": "--env", "short": "-e", "description": "Environment variable name for database URL", "type": "string"},
131
- {"name": "--schema-file", "short": "-s", "description": "Path for the schema dump file (default: db/schema.sql)", "type": "string"}
132
- ],
133
- "examples": [
134
- "dbmate dump",
135
- "dbmate dump -s ./schema/database.sql",
136
- "dbmate -u 'postgres://user:pass@localhost:5432/mydb' dump"
137
- ]
138
- },
139
- {
140
- "name": "status",
141
- "description": "Display the status of all migrations, showing which have been applied and which are pending.",
142
- "args": [],
143
- "options": [
144
- {"name": "--url", "short": "-u", "description": "Database connection URL", "type": "string"},
145
- {"name": "--env", "short": "-e", "description": "Environment variable name for database URL", "type": "string"},
146
- {"name": "--migrations-dir", "short": "-d", "description": "Path to migrations directory", "type": "string"},
147
- {"name": "--migrations-table", "description": "Name of the migrations tracking table", "type": "string"}
148
- ],
149
- "examples": [
150
- "dbmate status",
151
- "dbmate -u 'postgres://user:pass@localhost:5432/mydb' status",
152
- "dbmate -d ./db/migrations status"
153
- ]
154
- },
155
- {
156
- "name": "wait",
157
- "description": "Wait for the database to become available. Useful in Docker/container environments where the database may take time to start.",
158
- "args": [],
159
- "options": [
160
- {"name": "--url", "short": "-u", "description": "Database connection URL", "type": "string"},
161
- {"name": "--env", "short": "-e", "description": "Environment variable name for database URL", "type": "string"},
162
- {"name": "--wait-timeout", "description": "Timeout in seconds to wait for database (default: 60s)", "type": "string"}
163
- ],
164
- "examples": [
165
- "dbmate wait",
166
- "dbmate wait --wait-timeout=120",
167
- "dbmate -u 'postgres://user:pass@db:5432/mydb' wait && dbmate up",
168
- "dbmate wait && dbmate migrate"
169
- ]
170
- },
171
- {
172
- "name": "load",
173
- "description": "Load the schema file (db/schema.sql) directly into the database, bypassing individual migrations. Useful for initializing a new database from a known schema.",
174
- "args": [],
175
- "options": [
176
- {"name": "--url", "short": "-u", "description": "Database connection URL", "type": "string"},
177
- {"name": "--env", "short": "-e", "description": "Environment variable name for database URL", "type": "string"},
178
- {"name": "--schema-file", "short": "-s", "description": "Path to the schema file to load", "type": "string"}
179
- ],
180
- "examples": [
181
- "dbmate load",
182
- "dbmate load -s ./schema/database.sql",
183
- "dbmate -u 'postgres://user:pass@localhost:5432/newdb' load"
184
- ]
185
- }
186
- ],
187
- "globalOptions": [
188
- {"name": "--help", "short": "-h", "description": "Show help information"},
189
- {"name": "--version", "short": "-V", "description": "Show dbmate version"},
190
- {"name": "--url", "short": "-u", "description": "Database connection URL (default: $DATABASE_URL)", "type": "string"},
191
- {"name": "--env", "short": "-e", "description": "Environment variable name containing the database URL", "type": "string"},
192
- {"name": "--migrations-dir", "short": "-d", "description": "Path to the migrations directory (default: ./db/migrations)", "type": "string"},
193
- {"name": "--migrations-table", "description": "Name of the table to track applied migrations (default: schema_migrations)", "type": "string"},
194
- {"name": "--schema-file", "short": "-s", "description": "Path to the schema dump file (default: ./db/schema.sql)", "type": "string"},
195
- {"name": "--no-dump-schema", "description": "Do not update the schema dump file after migrating"},
196
- {"name": "--wait-timeout", "description": "Timeout in seconds for the wait command (default: 60)", "type": "string"},
197
- {"name": "--strict", "description": "Fail if migrations would be applied out of order"},
198
- {"name": "--verbose", "description": "Show verbose output"}
199
- ],
200
- "examples": [
201
- "dbmate new create_users_table",
202
- "dbmate up",
203
- "dbmate down",
204
- "dbmate status",
205
- "dbmate create",
206
- "dbmate drop",
207
- "dbmate dump",
208
- "dbmate load",
209
- "dbmate wait && dbmate up",
210
- "DATABASE_URL='postgres://user:pass@localhost:5432/mydb' dbmate up",
211
- "dbmate -u 'sqlite:./data/app.db' up",
212
- "dbmate -u 'mysql://root:pass@localhost:3306/mydb' migrate",
213
- "dbmate -d ./migrations -s ./schema.sql up --no-dump-schema",
214
- "dbmate rollback",
215
- "dbmate new add_indexes && dbmate up"
216
- ],
217
- "relatedCommands": ["flyway", "alembic", "liquibase", "pg_dump", "psql", "mysql"],
218
- "contextEngine": {
219
- "detectors": [
220
- {
221
- "name": "dbmate_migrations_detect",
222
- "description": "Detect dbmate migration files",
223
- "command": "find . -path '*/db/migrations/*.sql' -type f 2>/dev/null | head -10",
224
- "parser": "lines",
225
- "cacheFor": 30
226
- },
227
- {
228
- "name": "dbmate_schema_detect",
229
- "description": "Detect dbmate schema dump file",
230
- "command": "find . -path '*/db/schema.sql' -type f 2>/dev/null | head -3",
231
- "parser": "lines",
232
- "cacheFor": 60
233
- },
234
- {
235
- "name": "dbmate_version",
236
- "description": "Get installed dbmate version",
237
- "command": "dbmate --version 2>/dev/null || echo 'not installed'",
238
- "parser": "lines",
239
- "cacheFor": 120
240
- },
241
- {
242
- "name": "dbmate_database_url_detect",
243
- "description": "Check if DATABASE_URL environment variable is set",
244
- "command": "echo ${DATABASE_URL:+set} || echo 'not set'",
245
- "parser": "lines",
246
- "cacheFor": 30
247
- },
248
- {
249
- "name": "dbmate_status_detect",
250
- "description": "Get current migration status",
251
- "command": "dbmate status 2>/dev/null | head -15 || echo 'not available'",
252
- "parser": "lines",
253
- "cacheFor": 30
254
- }
255
- ]
256
- }
257
- }
1
+ {
2
+ "name": "dbmate",
3
+ "description": "Dbmate is a lightweight, framework-agnostic database migration tool written in Go. It supports PostgreSQL, MySQL, SQLite, ClickHouse, and BigQuery with plain SQL migrations.",
4
+ "category": "database",
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": "new",
19
+ "description": "Create a new migration file with a timestamp prefix. The file contains empty -- migrate:up and -- migrate:down sections for writing SQL.",
20
+ "args": [
21
+ {
22
+ "name": "name",
23
+ "type": "string",
24
+ "required": true,
25
+ "description": "Name for the migration (used in the filename)"
26
+ }
27
+ ],
28
+ "options": [],
29
+ "examples": [
30
+ "dbmate new create_users_table",
31
+ "dbmate new add_email_to_users",
32
+ "dbmate new create_orders_and_items",
33
+ "dbmate new add_index_on_users_email",
34
+ "dbmate -d ./migrations/postgres new create_sessions_table"
35
+ ]
36
+ },
37
+ {
38
+ "name": "up",
39
+ "description": "Apply all pending migrations in chronological order. Creates the database if it does not exist. Skips migrations that have already been applied.",
40
+ "args": [],
41
+ "options": [
42
+ {
43
+ "name": "--url",
44
+ "short": "-u",
45
+ "description": "Database connection URL (overrides DATABASE_URL)",
46
+ "type": "string"
47
+ },
48
+ {
49
+ "name": "--env",
50
+ "short": "-e",
51
+ "description": "Environment variable name containing the database URL (default: DATABASE_URL)",
52
+ "type": "string"
53
+ },
54
+ {
55
+ "name": "--migrations-dir",
56
+ "short": "-d",
57
+ "description": "Path to the migrations directory",
58
+ "type": "string"
59
+ },
60
+ {
61
+ "name": "--migrations-table",
62
+ "description": "Name of the migrations tracking table (default: schema_migrations)",
63
+ "type": "string"
64
+ },
65
+ {
66
+ "name": "--no-dump-schema",
67
+ "description": "Skip updating the schema dump file after migration"
68
+ },
69
+ {
70
+ "name": "--strict",
71
+ "description": "Fail if migrations are applied out of order"
72
+ },
73
+ {
74
+ "name": "--verbose",
75
+ "description": "Show verbose output including SQL being executed"
76
+ }
77
+ ],
78
+ "examples": [
79
+ "dbmate up",
80
+ "dbmate -u 'postgres://user:pass@localhost:5432/mydb?sslmode=disable' up",
81
+ "dbmate -e MY_DATABASE_URL up",
82
+ "dbmate -d ./db/migrations up",
83
+ "dbmate up --strict",
84
+ "dbmate up --verbose",
85
+ "dbmate up --no-dump-schema"
86
+ ]
87
+ },
88
+ {
89
+ "name": "down",
90
+ "description": "Roll back the most recently applied migration by executing its -- migrate:down section.",
91
+ "args": [],
92
+ "options": [
93
+ {
94
+ "name": "--url",
95
+ "short": "-u",
96
+ "description": "Database connection URL",
97
+ "type": "string"
98
+ },
99
+ {
100
+ "name": "--env",
101
+ "short": "-e",
102
+ "description": "Environment variable name for database URL",
103
+ "type": "string"
104
+ },
105
+ {
106
+ "name": "--migrations-dir",
107
+ "short": "-d",
108
+ "description": "Path to migrations directory",
109
+ "type": "string"
110
+ },
111
+ {
112
+ "name": "--migrations-table",
113
+ "description": "Name of the migrations tracking table",
114
+ "type": "string"
115
+ },
116
+ {
117
+ "name": "--no-dump-schema",
118
+ "description": "Skip updating the schema dump file"
119
+ },
120
+ {
121
+ "name": "--verbose",
122
+ "description": "Show verbose output"
123
+ }
124
+ ],
125
+ "examples": [
126
+ "dbmate down",
127
+ "dbmate -u 'postgres://user:pass@localhost:5432/mydb' down",
128
+ "dbmate down --verbose"
129
+ ]
130
+ },
131
+ {
132
+ "name": "rollback",
133
+ "description": "Alias for the 'down' command. Roll back the most recently applied migration.",
134
+ "args": [],
135
+ "options": [
136
+ {
137
+ "name": "--url",
138
+ "short": "-u",
139
+ "description": "Database connection URL",
140
+ "type": "string"
141
+ },
142
+ {
143
+ "name": "--env",
144
+ "short": "-e",
145
+ "description": "Environment variable name for database URL",
146
+ "type": "string"
147
+ },
148
+ {
149
+ "name": "--migrations-dir",
150
+ "short": "-d",
151
+ "description": "Path to migrations directory",
152
+ "type": "string"
153
+ },
154
+ {
155
+ "name": "--verbose",
156
+ "description": "Show verbose output"
157
+ }
158
+ ],
159
+ "examples": [
160
+ "dbmate rollback",
161
+ "dbmate rollback --verbose"
162
+ ]
163
+ },
164
+ {
165
+ "name": "migrate",
166
+ "description": "Apply all pending migrations (alias for 'up'). Creates the database if it doesn't exist and applies migrations in order.",
167
+ "args": [],
168
+ "options": [
169
+ {
170
+ "name": "--url",
171
+ "short": "-u",
172
+ "description": "Database connection URL",
173
+ "type": "string"
174
+ },
175
+ {
176
+ "name": "--env",
177
+ "short": "-e",
178
+ "description": "Environment variable name for database URL",
179
+ "type": "string"
180
+ },
181
+ {
182
+ "name": "--migrations-dir",
183
+ "short": "-d",
184
+ "description": "Path to migrations directory",
185
+ "type": "string"
186
+ },
187
+ {
188
+ "name": "--strict",
189
+ "description": "Fail if migrations are out of order"
190
+ },
191
+ {
192
+ "name": "--verbose",
193
+ "description": "Show verbose output"
194
+ }
195
+ ],
196
+ "examples": [
197
+ "dbmate migrate",
198
+ "dbmate -u 'mysql://root:pass@localhost:3306/mydb' migrate",
199
+ "dbmate migrate --strict"
200
+ ]
201
+ },
202
+ {
203
+ "name": "create",
204
+ "description": "Create the database specified in the connection URL if it does not already exist.",
205
+ "args": [],
206
+ "options": [
207
+ {
208
+ "name": "--url",
209
+ "short": "-u",
210
+ "description": "Database connection URL",
211
+ "type": "string"
212
+ },
213
+ {
214
+ "name": "--env",
215
+ "short": "-e",
216
+ "description": "Environment variable name for database URL",
217
+ "type": "string"
218
+ }
219
+ ],
220
+ "examples": [
221
+ "dbmate create",
222
+ "dbmate -u 'postgres://user:pass@localhost:5432/newdb' create",
223
+ "dbmate -e STAGING_DATABASE_URL create"
224
+ ]
225
+ },
226
+ {
227
+ "name": "drop",
228
+ "description": "Drop the database specified in the connection URL. WARNING: This permanently destroys the database and all data.",
229
+ "args": [],
230
+ "options": [
231
+ {
232
+ "name": "--url",
233
+ "short": "-u",
234
+ "description": "Database connection URL",
235
+ "type": "string"
236
+ },
237
+ {
238
+ "name": "--env",
239
+ "short": "-e",
240
+ "description": "Environment variable name for database URL",
241
+ "type": "string"
242
+ }
243
+ ],
244
+ "examples": [
245
+ "dbmate drop",
246
+ "dbmate -u 'postgres://user:pass@localhost:5432/testdb' drop",
247
+ "dbmate -e TEST_DATABASE_URL drop"
248
+ ]
249
+ },
250
+ {
251
+ "name": "dump",
252
+ "description": "Dump the current database schema to a file (default: db/schema.sql). Uses the database's native dump utility (pg_dump, mysqldump, etc.).",
253
+ "args": [],
254
+ "options": [
255
+ {
256
+ "name": "--url",
257
+ "short": "-u",
258
+ "description": "Database connection URL",
259
+ "type": "string"
260
+ },
261
+ {
262
+ "name": "--env",
263
+ "short": "-e",
264
+ "description": "Environment variable name for database URL",
265
+ "type": "string"
266
+ },
267
+ {
268
+ "name": "--schema-file",
269
+ "short": "-s",
270
+ "description": "Path for the schema dump file (default: db/schema.sql)",
271
+ "type": "string"
272
+ }
273
+ ],
274
+ "examples": [
275
+ "dbmate dump",
276
+ "dbmate dump -s ./schema/database.sql",
277
+ "dbmate -u 'postgres://user:pass@localhost:5432/mydb' dump"
278
+ ]
279
+ },
280
+ {
281
+ "name": "status",
282
+ "description": "Display the status of all migrations, showing which have been applied and which are pending.",
283
+ "args": [],
284
+ "options": [
285
+ {
286
+ "name": "--url",
287
+ "short": "-u",
288
+ "description": "Database connection URL",
289
+ "type": "string"
290
+ },
291
+ {
292
+ "name": "--env",
293
+ "short": "-e",
294
+ "description": "Environment variable name for database URL",
295
+ "type": "string"
296
+ },
297
+ {
298
+ "name": "--migrations-dir",
299
+ "short": "-d",
300
+ "description": "Path to migrations directory",
301
+ "type": "string"
302
+ },
303
+ {
304
+ "name": "--migrations-table",
305
+ "description": "Name of the migrations tracking table",
306
+ "type": "string"
307
+ }
308
+ ],
309
+ "examples": [
310
+ "dbmate status",
311
+ "dbmate -u 'postgres://user:pass@localhost:5432/mydb' status",
312
+ "dbmate -d ./db/migrations status"
313
+ ]
314
+ },
315
+ {
316
+ "name": "wait",
317
+ "description": "Wait for the database to become available. Useful in Docker/container environments where the database may take time to start.",
318
+ "args": [],
319
+ "options": [
320
+ {
321
+ "name": "--url",
322
+ "short": "-u",
323
+ "description": "Database connection URL",
324
+ "type": "string"
325
+ },
326
+ {
327
+ "name": "--env",
328
+ "short": "-e",
329
+ "description": "Environment variable name for database URL",
330
+ "type": "string"
331
+ },
332
+ {
333
+ "name": "--wait-timeout",
334
+ "description": "Timeout in seconds to wait for database (default: 60s)",
335
+ "type": "string"
336
+ }
337
+ ],
338
+ "examples": [
339
+ "dbmate wait",
340
+ "dbmate wait --wait-timeout=120",
341
+ "dbmate -u 'postgres://user:pass@db:5432/mydb' wait && dbmate up",
342
+ "dbmate wait && dbmate migrate"
343
+ ]
344
+ },
345
+ {
346
+ "name": "load",
347
+ "description": "Load the schema file (db/schema.sql) directly into the database, bypassing individual migrations. Useful for initializing a new database from a known schema.",
348
+ "args": [],
349
+ "options": [
350
+ {
351
+ "name": "--url",
352
+ "short": "-u",
353
+ "description": "Database connection URL",
354
+ "type": "string"
355
+ },
356
+ {
357
+ "name": "--env",
358
+ "short": "-e",
359
+ "description": "Environment variable name for database URL",
360
+ "type": "string"
361
+ },
362
+ {
363
+ "name": "--schema-file",
364
+ "short": "-s",
365
+ "description": "Path to the schema file to load",
366
+ "type": "string"
367
+ }
368
+ ],
369
+ "examples": [
370
+ "dbmate load",
371
+ "dbmate load -s ./schema/database.sql",
372
+ "dbmate -u 'postgres://user:pass@localhost:5432/newdb' load"
373
+ ]
374
+ }
375
+ ],
376
+ "globalOptions": [
377
+ {
378
+ "name": "--help",
379
+ "short": "-h",
380
+ "description": "Show help information"
381
+ },
382
+ {
383
+ "name": "--version",
384
+ "short": "-V",
385
+ "description": "Show dbmate version"
386
+ },
387
+ {
388
+ "name": "--url",
389
+ "short": "-u",
390
+ "description": "Database connection URL (default: $DATABASE_URL)",
391
+ "type": "string"
392
+ },
393
+ {
394
+ "name": "--env",
395
+ "short": "-e",
396
+ "description": "Environment variable name containing the database URL",
397
+ "type": "string"
398
+ },
399
+ {
400
+ "name": "--migrations-dir",
401
+ "short": "-d",
402
+ "description": "Path to the migrations directory (default: ./db/migrations)",
403
+ "type": "string"
404
+ },
405
+ {
406
+ "name": "--migrations-table",
407
+ "description": "Name of the table to track applied migrations (default: schema_migrations)",
408
+ "type": "string"
409
+ },
410
+ {
411
+ "name": "--schema-file",
412
+ "short": "-s",
413
+ "description": "Path to the schema dump file (default: ./db/schema.sql)",
414
+ "type": "string"
415
+ },
416
+ {
417
+ "name": "--no-dump-schema",
418
+ "description": "Do not update the schema dump file after migrating"
419
+ },
420
+ {
421
+ "name": "--wait-timeout",
422
+ "description": "Timeout in seconds for the wait command (default: 60)",
423
+ "type": "string"
424
+ },
425
+ {
426
+ "name": "--strict",
427
+ "description": "Fail if migrations would be applied out of order"
428
+ },
429
+ {
430
+ "name": "--verbose",
431
+ "description": "Show verbose output"
432
+ }
433
+ ],
434
+ "examples": [
435
+ "dbmate new create_users_table",
436
+ "dbmate up",
437
+ "dbmate down",
438
+ "dbmate status",
439
+ "dbmate create",
440
+ "dbmate drop",
441
+ "dbmate dump",
442
+ "dbmate load",
443
+ "dbmate wait && dbmate up",
444
+ "DATABASE_URL='postgres://user:pass@localhost:5432/mydb' dbmate up",
445
+ "dbmate -u 'sqlite:./data/app.db' up",
446
+ "dbmate -u 'mysql://root:pass@localhost:3306/mydb' migrate",
447
+ "dbmate -d ./migrations -s ./schema.sql up --no-dump-schema",
448
+ "dbmate rollback",
449
+ "dbmate new add_indexes && dbmate up"
450
+ ],
451
+ "relatedCommands": [
452
+ "flyway",
453
+ "alembic",
454
+ "liquibase",
455
+ "pg_dump",
456
+ "psql",
457
+ "mysql"
458
+ ],
459
+ "contextEngine": {
460
+ "detectors": [
461
+ {
462
+ "name": "dbmate_migrations_detect",
463
+ "description": "Detect dbmate migration files",
464
+ "command": "find . -path '*/db/migrations/*.sql' -type f 2>/dev/null | head -10",
465
+ "parser": "lines",
466
+ "cacheFor": 30
467
+ },
468
+ {
469
+ "name": "dbmate_schema_detect",
470
+ "description": "Detect dbmate schema dump file",
471
+ "command": "find . -path '*/db/schema.sql' -type f 2>/dev/null | head -3",
472
+ "parser": "lines",
473
+ "cacheFor": 60
474
+ },
475
+ {
476
+ "name": "dbmate_version",
477
+ "description": "Get installed dbmate version",
478
+ "command": "dbmate --version 2>/dev/null || echo 'not installed'",
479
+ "parser": "lines",
480
+ "cacheFor": 120
481
+ },
482
+ {
483
+ "name": "dbmate_database_url_detect",
484
+ "description": "Check if DATABASE_URL environment variable is set",
485
+ "command": "echo ${DATABASE_URL:+set} || echo 'not set'",
486
+ "parser": "lines",
487
+ "cacheFor": 30
488
+ },
489
+ {
490
+ "name": "dbmate_status_detect",
491
+ "description": "Get current migration status",
492
+ "command": "dbmate status 2>/dev/null | head -15 || echo 'not available'",
493
+ "parser": "lines",
494
+ "cacheFor": 30
495
+ }
496
+ ]
497
+ }
498
+ }