@enjoys/context-engine 1.7.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 (484) hide show
  1. package/data/color/abap.json +8 -8
  2. package/data/color/angular.json +11 -36
  3. package/data/color/apex.json +8 -8
  4. package/data/color/awk.json +40 -80
  5. package/data/color/azcli.json +8 -8
  6. package/data/color/bicep.json +8 -8
  7. package/data/color/c.json +4 -4
  8. package/data/color/caddy.json +8 -8
  9. package/data/color/cameligo.json +8 -8
  10. package/data/color/clojure.json +8 -8
  11. package/data/color/coffee.json +10 -17
  12. package/data/color/cpp.json +4 -4
  13. package/data/color/crontab.json +8 -8
  14. package/data/color/csharp.json +49 -109
  15. package/data/color/css.json +8 -32
  16. package/data/color/cypher.json +8 -8
  17. package/data/color/docker-compose.json +8 -8
  18. package/data/color/dockerfile.json +8 -8
  19. package/data/color/doctest.json +8 -8
  20. package/data/color/dotenv.json +8 -8
  21. package/data/color/ecl.json +8 -8
  22. package/data/color/elixir.json +49 -109
  23. package/data/color/flow9.json +8 -8
  24. package/data/color/freemarker2.json +61 -121
  25. package/data/color/go.json +4 -4
  26. package/data/color/graphql.json +8 -8
  27. package/data/color/hcl.json +8 -8
  28. package/data/color/html.json +13 -43
  29. package/data/color/ini.json +8 -8
  30. package/data/color/java.json +49 -109
  31. package/data/color/javascript.json +13 -43
  32. package/data/color/json.json +8 -8
  33. package/data/color/julia.json +49 -109
  34. package/data/color/less.json +10 -17
  35. package/data/color/lexon.json +8 -8
  36. package/data/color/liquid.json +61 -121
  37. package/data/color/lua.json +4 -4
  38. package/data/color/m3.json +8 -8
  39. package/data/color/makefile.json +8 -8
  40. package/data/color/markdown.json +61 -121
  41. package/data/color/mdx.json +61 -121
  42. package/data/color/mips.json +8 -8
  43. package/data/color/msdax.json +8 -8
  44. package/data/color/mysql.json +8 -8
  45. package/data/color/nestjs.json +52 -18
  46. package/data/color/nextjs.json +60 -22
  47. package/data/color/nginx.json +8 -8
  48. package/data/color/objective-c.json +4 -4
  49. package/data/color/pascal.json +8 -8
  50. package/data/color/pascaligo.json +8 -8
  51. package/data/color/perl.json +4 -4
  52. package/data/color/pgsql.json +8 -8
  53. package/data/color/php.json +13 -43
  54. package/data/color/pla.json +8 -8
  55. package/data/color/postiats.json +8 -8
  56. package/data/color/powerquery.json +8 -8
  57. package/data/color/powershell.json +40 -80
  58. package/data/color/protobuf.json +8 -8
  59. package/data/color/python.json +49 -109
  60. package/data/color/qsharp.json +8 -8
  61. package/data/color/r.json +49 -109
  62. package/data/color/razor.json +61 -121
  63. package/data/color/react.json +65 -93
  64. package/data/color/redis-cli.json +8 -8
  65. package/data/color/redis.json +8 -8
  66. package/data/color/redshift.json +8 -8
  67. package/data/color/restructuredtext.json +8 -8
  68. package/data/color/ruby.json +49 -109
  69. package/data/color/rust.json +4 -4
  70. package/data/color/sb.json +8 -8
  71. package/data/color/scala.json +2 -12
  72. package/data/color/scheme.json +8 -8
  73. package/data/color/scss.json +10 -17
  74. package/data/color/shadcn.json +11 -36
  75. package/data/color/shell.json +8 -48
  76. package/data/color/sol.json +8 -8
  77. package/data/color/sparql.json +8 -8
  78. package/data/color/sql.json +8 -8
  79. package/data/color/ssh_config.json +8 -8
  80. package/data/color/st.json +8 -8
  81. package/data/color/swift.json +56 -37
  82. package/data/color/systemd.json +8 -8
  83. package/data/color/systemverilog.json +8 -8
  84. package/data/color/tailwindcss.json +6 -24
  85. package/data/color/tcl.json +40 -80
  86. package/data/color/toml.json +8 -8
  87. package/data/color/twig.json +61 -121
  88. package/data/color/typescript.json +13 -43
  89. package/data/color/vb.json +49 -109
  90. package/data/color/wgsl.json +8 -8
  91. package/data/color/xml.json +61 -121
  92. package/data/color/yaml.json +8 -8
  93. package/data/commands/air.json +117 -59
  94. package/data/commands/alembic.json +487 -301
  95. package/data/commands/ansible.json +236 -24
  96. package/data/commands/apt-get.json +244 -81
  97. package/data/commands/apt.json +294 -91
  98. package/data/commands/atlas.json +956 -426
  99. package/data/commands/aws-vault.json +266 -140
  100. package/data/commands/bazel.json +328 -103
  101. package/data/commands/brew.json +444 -140
  102. package/data/commands/btop.json +132 -59
  103. package/data/commands/cabal.json +1 -1
  104. package/data/commands/cd.json +90 -48
  105. package/data/commands/choco.json +430 -134
  106. package/data/commands/chown.json +139 -59
  107. package/data/commands/clickhouse-client.json +183 -74
  108. package/data/commands/cmake.json +301 -110
  109. package/data/commands/cockroach.json +269 -92
  110. package/data/commands/conda.json +435 -94
  111. package/data/commands/consul.json +377 -125
  112. package/data/commands/crystal.json +1 -1
  113. package/data/commands/dbmate.json +498 -257
  114. package/data/commands/django-admin.json +489 -86
  115. package/data/commands/dnf.json +428 -137
  116. package/data/commands/dockerfile.json +1 -1
  117. package/data/commands/dotnet.json +1 -1
  118. package/data/commands/drizzle-kit.json +435 -217
  119. package/data/commands/erlang.json +1 -1
  120. package/data/commands/eslint.json +193 -69
  121. package/data/commands/expo.json +65 -65
  122. package/data/commands/firebase.json +406 -97
  123. package/data/commands/flask.json +254 -79
  124. package/data/commands/flyctl.json +657 -148
  125. package/data/commands/flyway.json +580 -261
  126. package/data/commands/ghc.json +1 -1
  127. package/data/commands/glab.json +577 -116
  128. package/data/commands/gofmt.json +101 -51
  129. package/data/commands/golangci-lint.json +243 -89
  130. package/data/commands/gradle.json +182 -44
  131. package/data/commands/gunicorn.json +243 -83
  132. package/data/commands/hg.json +502 -92
  133. package/data/commands/htop.json +151 -56
  134. package/data/commands/influx.json +363 -119
  135. package/data/commands/iptables.json +251 -86
  136. package/data/commands/javac.json +1 -1
  137. package/data/commands/just.json +262 -93
  138. package/data/commands/linode-cli.json +360 -117
  139. package/data/commands/linux.json +1 -1
  140. package/data/commands/liquibase.json +739 -399
  141. package/data/commands/manifest.json +1 -1
  142. package/data/commands/mix.json +1 -1
  143. package/data/commands/mongosh.json +174 -73
  144. package/data/commands/mvn.json +179 -45
  145. package/data/commands/mysql.json +1 -1
  146. package/data/commands/nest.json +270 -69
  147. package/data/commands/netlify.json +384 -92
  148. package/data/commands/next.json +221 -71
  149. package/data/commands/nft.json +299 -105
  150. package/data/commands/nim.json +1 -1
  151. package/data/commands/nomad.json +398 -139
  152. package/data/commands/npx.json +141 -58
  153. package/data/commands/nx.json +348 -82
  154. package/data/commands/ocaml.json +1 -1
  155. package/data/commands/opam.json +1 -1
  156. package/data/commands/packer.json +273 -92
  157. package/data/commands/pacman.json +228 -82
  158. package/data/commands/pg_dump.json +233 -83
  159. package/data/commands/pg_restore.json +224 -74
  160. package/data/commands/pipenv.json +300 -79
  161. package/data/commands/pipx.json +241 -53
  162. package/data/commands/poetry.json +521 -96
  163. package/data/commands/prettier.json +201 -71
  164. package/data/commands/pulumi.json +409 -130
  165. package/data/commands/pytest.json +240 -92
  166. package/data/commands/railway.json +343 -91
  167. package/data/commands/react-native.json +57 -57
  168. package/data/commands/rebar3.json +1 -1
  169. package/data/commands/render.json +235 -72
  170. package/data/commands/rustc.json +1 -1
  171. package/data/commands/rustup.json +339 -103
  172. package/data/commands/scala.json +1 -1
  173. package/data/commands/scp.json +146 -60
  174. package/data/commands/sequelize.json +629 -342
  175. package/data/commands/sqlite3.json +167 -68
  176. package/data/commands/stack.json +1 -1
  177. package/data/commands/supabase.json +433 -108
  178. package/data/commands/svn.json +509 -75
  179. package/data/commands/swiftc.json +1 -1
  180. package/data/commands/terraform.json +1505 -824
  181. package/data/commands/terragrunt.json +217 -83
  182. package/data/commands/top.json +167 -61
  183. package/data/commands/tsc.json +234 -85
  184. package/data/commands/turbo.json +263 -72
  185. package/data/commands/typeorm.json +427 -262
  186. package/data/commands/ufw.json +254 -76
  187. package/data/commands/unzip.json +154 -59
  188. package/data/commands/uvicorn.json +215 -73
  189. package/data/commands/vault.json +462 -144
  190. package/data/commands/vercel.json +410 -98
  191. package/data/commands/vite.json +239 -63
  192. package/data/commands/wasm-pack.json +254 -90
  193. package/data/commands/winget.json +466 -131
  194. package/data/commands/yum.json +323 -98
  195. package/data/commands/zig.json +1 -1
  196. package/data/commands/zip.json +159 -59
  197. package/data/completion/abap.json +423 -341
  198. package/data/completion/apex.json +423 -43
  199. package/data/completion/awk.json +1 -45
  200. package/data/completion/azcli.json +58 -115
  201. package/data/completion/bicep.json +90 -90
  202. package/data/completion/cameligo.json +533 -487
  203. package/data/completion/clojure.json +533 -488
  204. package/data/completion/coffee.json +522 -479
  205. package/data/completion/crontab.json +1 -34
  206. package/data/completion/cypher.json +687 -628
  207. package/data/completion/docker-compose.json +962 -959
  208. package/data/completion/dockerfile.json +1270 -1285
  209. package/data/completion/doctest.json +489 -526
  210. package/data/completion/ecl.json +588 -598
  211. package/data/completion/elixir.json +709 -649
  212. package/data/completion/flow9.json +401 -376
  213. package/data/completion/freemarker2.json +632 -579
  214. package/data/completion/go.json +10037 -10037
  215. package/data/completion/julia.json +698 -638
  216. package/data/completion/less.json +412 -378
  217. package/data/completion/lexon.json +80 -52
  218. package/data/completion/liquid.json +544 -499
  219. package/data/completion/lua.json +2535 -2634
  220. package/data/completion/m3.json +643 -587
  221. package/data/completion/makefile.json +1 -56
  222. package/data/completion/markdown.json +1 -56
  223. package/data/completion/mips.json +83 -49
  224. package/data/completion/msdax.json +511 -467
  225. package/data/completion/mysql.json +676 -638
  226. package/data/completion/objective-c.json +687 -629
  227. package/data/completion/pascal.json +709 -649
  228. package/data/completion/pascaligo.json +544 -517
  229. package/data/completion/perl.json +1 -89
  230. package/data/completion/pgsql.json +698 -638
  231. package/data/completion/postiats.json +445 -417
  232. package/data/completion/powerquery.json +621 -587
  233. package/data/completion/powershell.json +1 -166
  234. package/data/completion/protobuf.json +7 -117
  235. package/data/completion/qsharp.json +643 -587
  236. package/data/completion/r.json +2469 -1985
  237. package/data/completion/razor.json +533 -488
  238. package/data/completion/redis-cli.json +120 -60
  239. package/data/completion/redis.json +423 -389
  240. package/data/completion/redshift.json +698 -638
  241. package/data/completion/restructuredtext.json +544 -499
  242. package/data/completion/ruby.json +1930 -1531
  243. package/data/completion/sb.json +434 -398
  244. package/data/completion/scheme.json +555 -510
  245. package/data/completion/scss.json +544 -500
  246. package/data/completion/shell.json +115 -70
  247. package/data/completion/sol.json +720 -660
  248. package/data/completion/sparql.json +643 -587
  249. package/data/completion/st.json +698 -638
  250. package/data/completion/systemverilog.json +698 -638
  251. package/data/completion/tailwindcss.json +2821 -284
  252. package/data/completion/tcl.json +544 -499
  253. package/data/completion/twig.json +555 -510
  254. package/data/completion/vb.json +720 -660
  255. package/data/completion/wgsl.json +709 -649
  256. package/data/foldingRange/abap.json +0 -24
  257. package/data/foldingRange/angular.json +0 -18
  258. package/data/foldingRange/apex.json +0 -24
  259. package/data/foldingRange/awk.json +0 -18
  260. package/data/foldingRange/azcli.json +0 -18
  261. package/data/foldingRange/bicep.json +0 -18
  262. package/data/foldingRange/c.json +0 -24
  263. package/data/foldingRange/caddy.json +0 -18
  264. package/data/foldingRange/cameligo.json +0 -18
  265. package/data/foldingRange/clojure.json +0 -18
  266. package/data/foldingRange/coffee.json +0 -18
  267. package/data/foldingRange/cpp.json +0 -24
  268. package/data/foldingRange/crontab.json +0 -18
  269. package/data/foldingRange/csharp.json +0 -24
  270. package/data/foldingRange/css.json +5 -19
  271. package/data/foldingRange/cypher.json +0 -18
  272. package/data/foldingRange/dart.json +0 -24
  273. package/data/foldingRange/docker-compose.json +0 -18
  274. package/data/foldingRange/dockerfile.json +0 -18
  275. package/data/foldingRange/doctest.json +0 -18
  276. package/data/foldingRange/dotenv.json +0 -18
  277. package/data/foldingRange/ecl.json +0 -30
  278. package/data/foldingRange/elixir.json +0 -24
  279. package/data/foldingRange/flow9.json +0 -12
  280. package/data/foldingRange/freemarker2.json +0 -12
  281. package/data/foldingRange/go.json +0 -24
  282. package/data/foldingRange/graphql.json +0 -12
  283. package/data/foldingRange/hcl.json +0 -12
  284. package/data/foldingRange/html.json +0 -18
  285. package/data/foldingRange/ini.json +0 -18
  286. package/data/foldingRange/java.json +0 -24
  287. package/data/foldingRange/javascript.json +0 -24
  288. package/data/foldingRange/json.json +0 -12
  289. package/data/foldingRange/julia.json +0 -12
  290. package/data/foldingRange/kotlin.json +0 -18
  291. package/data/foldingRange/less.json +0 -18
  292. package/data/foldingRange/lexon.json +0 -12
  293. package/data/foldingRange/liquid.json +0 -18
  294. package/data/foldingRange/lua.json +0 -24
  295. package/data/foldingRange/m3.json +0 -18
  296. package/data/foldingRange/makefile.json +0 -12
  297. package/data/foldingRange/markdown.json +0 -12
  298. package/data/foldingRange/mdx.json +0 -18
  299. package/data/foldingRange/mips.json +0 -18
  300. package/data/foldingRange/msdax.json +0 -12
  301. package/data/foldingRange/mysql.json +0 -18
  302. package/data/foldingRange/nestjs.json +0 -24
  303. package/data/foldingRange/nextjs.json +0 -24
  304. package/data/foldingRange/nginx.json +0 -12
  305. package/data/foldingRange/objective-c.json +0 -18
  306. package/data/foldingRange/pascal.json +0 -18
  307. package/data/foldingRange/pascaligo.json +0 -12
  308. package/data/foldingRange/perl.json +0 -18
  309. package/data/foldingRange/pgsql.json +0 -18
  310. package/data/foldingRange/php.json +0 -18
  311. package/data/foldingRange/pla.json +0 -12
  312. package/data/foldingRange/postiats.json +0 -18
  313. package/data/foldingRange/powerquery.json +0 -12
  314. package/data/foldingRange/powershell.json +0 -18
  315. package/data/foldingRange/protobuf.json +0 -12
  316. package/data/foldingRange/python.json +0 -18
  317. package/data/foldingRange/qsharp.json +0 -12
  318. package/data/foldingRange/r.json +0 -12
  319. package/data/foldingRange/razor.json +0 -18
  320. package/data/foldingRange/react.json +0 -24
  321. package/data/foldingRange/redis-cli.json +0 -12
  322. package/data/foldingRange/redis.json +0 -18
  323. package/data/foldingRange/redshift.json +0 -18
  324. package/data/foldingRange/restructuredtext.json +0 -12
  325. package/data/foldingRange/ruby.json +0 -24
  326. package/data/foldingRange/rust.json +0 -18
  327. package/data/foldingRange/sb.json +0 -18
  328. package/data/foldingRange/scala.json +0 -18
  329. package/data/foldingRange/scheme.json +0 -12
  330. package/data/foldingRange/scss.json +0 -18
  331. package/data/foldingRange/shadcn.json +0 -24
  332. package/data/foldingRange/shell.json +0 -18
  333. package/data/foldingRange/sol.json +0 -18
  334. package/data/foldingRange/sparql.json +0 -12
  335. package/data/foldingRange/sql.json +0 -18
  336. package/data/foldingRange/ssh_config.json +0 -12
  337. package/data/foldingRange/st.json +0 -18
  338. package/data/foldingRange/swift.json +0 -18
  339. package/data/foldingRange/systemd.json +0 -12
  340. package/data/foldingRange/systemverilog.json +0 -12
  341. package/data/foldingRange/tailwindcss.json +0 -12
  342. package/data/foldingRange/tcl.json +0 -18
  343. package/data/foldingRange/toml.json +0 -12
  344. package/data/foldingRange/twig.json +0 -12
  345. package/data/foldingRange/typescript.json +0 -24
  346. package/data/foldingRange/vb.json +0 -18
  347. package/data/foldingRange/wgsl.json +0 -12
  348. package/data/foldingRange/xml.json +0 -18
  349. package/data/foldingRange/yaml.json +0 -12
  350. package/data/formatting/awk.json +5 -5
  351. package/data/formatting/azcli.json +1 -1
  352. package/data/formatting/c.json +5 -5
  353. package/data/formatting/caddy.json +4 -4
  354. package/data/formatting/cpp.json +5 -5
  355. package/data/formatting/crontab.json +2 -2
  356. package/data/formatting/csharp.json +5 -5
  357. package/data/formatting/dockerfile.json +4 -3
  358. package/data/formatting/dotenv.json +2 -2
  359. package/data/formatting/elixir.json +3 -3
  360. package/data/formatting/go.json +5 -5
  361. package/data/formatting/graphql.json +4 -4
  362. package/data/formatting/hcl.json +8 -8
  363. package/data/formatting/html.json +8 -8
  364. package/data/formatting/ini.json +4 -3
  365. package/data/formatting/java.json +5 -5
  366. package/data/formatting/javascript.json +5 -5
  367. package/data/formatting/json.json +4 -4
  368. package/data/formatting/less.json +8 -4
  369. package/data/formatting/lua.json +5 -5
  370. package/data/formatting/makefile.json +8 -4
  371. package/data/formatting/markdown.json +4 -4
  372. package/data/formatting/mips.json +2 -1
  373. package/data/formatting/mysql.json +1 -1
  374. package/data/formatting/nginx.json +5 -5
  375. package/data/formatting/perl.json +5 -5
  376. package/data/formatting/pgsql.json +1 -1
  377. package/data/formatting/php.json +5 -5
  378. package/data/formatting/powershell.json +5 -5
  379. package/data/formatting/protobuf.json +4 -4
  380. package/data/formatting/python.json +5 -5
  381. package/data/formatting/r.json +6 -6
  382. package/data/formatting/redis-cli.json +2 -2
  383. package/data/formatting/redshift.json +1 -1
  384. package/data/formatting/restructuredtext.json +2 -1
  385. package/data/formatting/ruby.json +5 -5
  386. package/data/formatting/rust.json +5 -5
  387. package/data/formatting/scala.json +6 -2
  388. package/data/formatting/scss.json +8 -4
  389. package/data/formatting/shell.json +1 -16
  390. package/data/formatting/sql.json +5 -5
  391. package/data/formatting/ssh_config.json +4 -3
  392. package/data/formatting/swift.json +6 -2
  393. package/data/formatting/systemd.json +2 -2
  394. package/data/formatting/toml.json +4 -3
  395. package/data/formatting/typescript.json +5 -5
  396. package/data/formatting/xml.json +8 -8
  397. package/data/formatting/yaml.json +4 -3
  398. package/data/links/abap.json +14 -14
  399. package/data/links/apex.json +18 -18
  400. package/data/links/awk.json +20 -20
  401. package/data/links/azcli.json +20 -20
  402. package/data/links/bicep.json +12 -12
  403. package/data/links/c.json +22 -22
  404. package/data/links/caddy.json +22 -22
  405. package/data/links/cameligo.json +20 -20
  406. package/data/links/clojure.json +12 -12
  407. package/data/links/coffee.json +14 -14
  408. package/data/links/cpp.json +22 -22
  409. package/data/links/crontab.json +22 -22
  410. package/data/links/csharp.json +22 -22
  411. package/data/links/cypher.json +18 -18
  412. package/data/links/dart.json +2 -2
  413. package/data/links/docker-compose.json +8 -8
  414. package/data/links/dockerfile.json +22 -22
  415. package/data/links/doctest.json +20 -20
  416. package/data/links/dotenv.json +20 -20
  417. package/data/links/ecl.json +18 -18
  418. package/data/links/elixir.json +12 -12
  419. package/data/links/flow9.json +22 -22
  420. package/data/links/freemarker2.json +10 -10
  421. package/data/links/go.json +23 -23
  422. package/data/links/graphql.json +18 -18
  423. package/data/links/hcl.json +22 -22
  424. package/data/links/html.json +19 -19
  425. package/data/links/ini.json +20 -20
  426. package/data/links/java.json +22 -22
  427. package/data/links/javascript.json +20 -20
  428. package/data/links/json.json +16 -16
  429. package/data/links/julia.json +16 -16
  430. package/data/links/kotlin.json +14 -14
  431. package/data/links/less.json +10 -10
  432. package/data/links/lexon.json +24 -24
  433. package/data/links/liquid.json +8 -8
  434. package/data/links/lua.json +22 -22
  435. package/data/links/m3.json +20 -20
  436. package/data/links/makefile.json +22 -22
  437. package/data/links/markdown.json +25 -25
  438. package/data/links/mdx.json +12 -12
  439. package/data/links/mips.json +22 -22
  440. package/data/links/msdax.json +22 -22
  441. package/data/links/mysql.json +17 -17
  442. package/data/links/nginx.json +22 -22
  443. package/data/links/objective-c.json +14 -14
  444. package/data/links/pascal.json +16 -16
  445. package/data/links/pascaligo.json +20 -20
  446. package/data/links/perl.json +22 -22
  447. package/data/links/pgsql.json +14 -14
  448. package/data/links/php.json +22 -22
  449. package/data/links/pla.json +24 -24
  450. package/data/links/postiats.json +18 -18
  451. package/data/links/powerquery.json +20 -20
  452. package/data/links/powershell.json +24 -24
  453. package/data/links/protobuf.json +22 -22
  454. package/data/links/python.json +27 -22
  455. package/data/links/qsharp.json +20 -20
  456. package/data/links/r.json +21 -21
  457. package/data/links/razor.json +8 -8
  458. package/data/links/redis-cli.json +22 -22
  459. package/data/links/redis.json +22 -22
  460. package/data/links/redshift.json +16 -16
  461. package/data/links/restructuredtext.json +10 -10
  462. package/data/links/ruby.json +22 -22
  463. package/data/links/rust.json +22 -22
  464. package/data/links/sb.json +24 -24
  465. package/data/links/scheme.json +12 -12
  466. package/data/links/scss.json +2 -2
  467. package/data/links/shell.json +1 -6
  468. package/data/links/sol.json +16 -16
  469. package/data/links/sparql.json +18 -18
  470. package/data/links/sql.json +18 -18
  471. package/data/links/ssh_config.json +22 -22
  472. package/data/links/st.json +20 -20
  473. package/data/links/swift.json +8 -8
  474. package/data/links/systemd.json +18 -18
  475. package/data/links/systemverilog.json +20 -20
  476. package/data/links/tcl.json +16 -16
  477. package/data/links/toml.json +16 -16
  478. package/data/links/typescript.json +20 -20
  479. package/data/links/vb.json +16 -16
  480. package/data/links/wgsl.json +24 -24
  481. package/data/links/xml.json +22 -22
  482. package/data/links/yaml.json +12 -12
  483. package/data/manifest.json +2 -2
  484. package/package.json +1 -1
@@ -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
+ }