@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,261 +1,580 @@
1
- {
2
- "name": "flyway",
3
- "description": "Flyway is a database migration tool that supports versioned and repeatable migrations using SQL or Java, with strong emphasis on simplicity and convention over configuration",
4
- "category": "database-orm",
5
- "platforms": ["linux", "macos", "windows"],
6
- "shells": ["bash", "zsh", "fish", "powershell"],
7
- "subcommands": [
8
- {
9
- "name": "migrate",
10
- "description": "Apply all pending versioned migrations to the database in order. Repeatable migrations are applied after versioned migrations when their checksum changes.",
11
- "args": [],
12
- "options": [
13
- {"name": "-url", "description": "JDBC URL of the database to migrate", "type": "string"},
14
- {"name": "-user", "description": "Database user for the connection", "type": "string"},
15
- {"name": "-password", "description": "Database password for the connection", "type": "string"},
16
- {"name": "-schemas", "description": "Comma-separated list of schemas to manage", "type": "string"},
17
- {"name": "-table", "description": "Name of the schema history table (default: flyway_schema_history)", "type": "string"},
18
- {"name": "-locations", "description": "Comma-separated list of locations to scan for migrations", "type": "string"},
19
- {"name": "-target", "description": "Target version up to which migrations should be applied", "type": "string"},
20
- {"name": "-outOfOrder", "description": "Allow out-of-order migrations (default: false)", "type": "string"},
21
- {"name": "-connectRetries", "description": "Number of retries for database connections", "type": "string"},
22
- {"name": "-mixed", "description": "Allow mixing transactional and non-transactional statements in a migration", "type": "string"},
23
- {"name": "-group", "description": "Group all pending migrations in a single transaction", "type": "string"},
24
- {"name": "-validateOnMigrate", "description": "Validate applied migrations against resolved ones", "type": "string"},
25
- {"name": "-baselineOnMigrate", "description": "Automatically baseline when migrating against a non-empty schema", "type": "string"},
26
- {"name": "-cherryPick", "description": "Apply only specific migrations by version", "type": "string"}
27
- ],
28
- "examples": [
29
- "flyway migrate",
30
- "flyway -url=jdbc:postgresql://localhost:5432/mydb -user=admin -password=secret migrate",
31
- "flyway migrate -target=5",
32
- "flyway migrate -outOfOrder=true",
33
- "flyway migrate -group=true",
34
- "flyway migrate -baselineOnMigrate=true",
35
- "flyway -configFiles=conf/flyway.conf migrate"
36
- ]
37
- },
38
- {
39
- "name": "clean",
40
- "description": "Drop all objects (tables, views, procedures, triggers, etc.) in the configured schemas. WARNING: This is a destructive operation and should never be used against production databases.",
41
- "args": [],
42
- "options": [
43
- {"name": "-url", "description": "JDBC URL of the database", "type": "string"},
44
- {"name": "-user", "description": "Database user", "type": "string"},
45
- {"name": "-password", "description": "Database password", "type": "string"},
46
- {"name": "-schemas", "description": "Schemas to clean", "type": "string"},
47
- {"name": "-cleanDisabled", "description": "Set to false to enable clean (disabled by default for safety)", "type": "string"}
48
- ],
49
- "examples": [
50
- "flyway clean",
51
- "flyway -url=jdbc:mysql://localhost:3306/testdb -user=root clean",
52
- "flyway clean -cleanDisabled=false"
53
- ]
54
- },
55
- {
56
- "name": "info",
57
- "description": "Display the details and status of all migrations, showing applied, pending, and failed migrations with their versions and descriptions.",
58
- "args": [],
59
- "options": [
60
- {"name": "-url", "description": "JDBC URL of the database", "type": "string"},
61
- {"name": "-user", "description": "Database user", "type": "string"},
62
- {"name": "-password", "description": "Database password", "type": "string"},
63
- {"name": "-outputType", "description": "Output format: text or json", "type": "string"},
64
- {"name": "-infoSinceDate", "description": "Show only migrations applied after this date", "type": "string"},
65
- {"name": "-infoSinceVersion", "description": "Show only migrations from this version onwards", "type": "string"}
66
- ],
67
- "examples": [
68
- "flyway info",
69
- "flyway info -outputType=json",
70
- "flyway -url=jdbc:postgresql://localhost:5432/mydb -user=admin info",
71
- "flyway info -infoSinceVersion=3"
72
- ]
73
- },
74
- {
75
- "name": "validate",
76
- "description": "Validate applied migrations against the locally available ones. Detects accidental changes to already applied migrations and verifies checksums match.",
77
- "args": [],
78
- "options": [
79
- {"name": "-url", "description": "JDBC URL of the database", "type": "string"},
80
- {"name": "-user", "description": "Database user", "type": "string"},
81
- {"name": "-password", "description": "Database password", "type": "string"},
82
- {"name": "-ignoreMigrationPatterns", "description": "Patterns for migrations to ignore during validation", "type": "string"}
83
- ],
84
- "examples": [
85
- "flyway validate",
86
- "flyway -url=jdbc:postgresql://localhost:5432/mydb validate",
87
- "flyway validate -ignoreMigrationPatterns='*:pending'"
88
- ]
89
- },
90
- {
91
- "name": "undo",
92
- "description": "Undo the most recently applied versioned migration. Requires Flyway Teams/Enterprise edition. Executes the undo script associated with the migration.",
93
- "args": [],
94
- "options": [
95
- {"name": "-url", "description": "JDBC URL of the database", "type": "string"},
96
- {"name": "-user", "description": "Database user", "type": "string"},
97
- {"name": "-password", "description": "Database password", "type": "string"},
98
- {"name": "-target", "description": "Target version to undo down to", "type": "string"},
99
- {"name": "-cherryPick", "description": "Undo only specific migration versions", "type": "string"}
100
- ],
101
- "examples": [
102
- "flyway undo",
103
- "flyway undo -target=3",
104
- "flyway -url=jdbc:postgresql://localhost:5432/mydb -user=admin undo"
105
- ]
106
- },
107
- {
108
- "name": "baseline",
109
- "description": "Baseline an existing database, marking it as the starting point for future Flyway migrations. Introduces Flyway to a pre-existing database.",
110
- "args": [],
111
- "options": [
112
- {"name": "-url", "description": "JDBC URL of the database", "type": "string"},
113
- {"name": "-user", "description": "Database user", "type": "string"},
114
- {"name": "-password", "description": "Database password", "type": "string"},
115
- {"name": "-baselineVersion", "description": "Version to tag the existing schema with (default: 1)", "type": "string"},
116
- {"name": "-baselineDescription", "description": "Description to tag the existing schema with", "type": "string"}
117
- ],
118
- "examples": [
119
- "flyway baseline",
120
- "flyway baseline -baselineVersion=5 -baselineDescription='Initial baseline'",
121
- "flyway -url=jdbc:mysql://localhost/mydb -user=root baseline"
122
- ]
123
- },
124
- {
125
- "name": "repair",
126
- "description": "Repair the schema history table by removing failed migration entries (for databases without DDL transactions) and realigning checksums and descriptions.",
127
- "args": [],
128
- "options": [
129
- {"name": "-url", "description": "JDBC URL of the database", "type": "string"},
130
- {"name": "-user", "description": "Database user", "type": "string"},
131
- {"name": "-password", "description": "Database password", "type": "string"}
132
- ],
133
- "examples": [
134
- "flyway repair",
135
- "flyway -url=jdbc:postgresql://localhost:5432/mydb repair"
136
- ]
137
- },
138
- {
139
- "name": "snapshot",
140
- "description": "Capture a snapshot of the database schema structure for later comparison or diffing. Requires Flyway Teams edition.",
141
- "args": [],
142
- "options": [
143
- {"name": "-url", "description": "JDBC URL of the database to snapshot", "type": "string"},
144
- {"name": "-user", "description": "Database user", "type": "string"},
145
- {"name": "-password", "description": "Database password", "type": "string"},
146
- {"name": "-snapshot.filename", "description": "Output file for the snapshot", "type": "string"},
147
- {"name": "-schemas", "description": "Schemas to include in the snapshot", "type": "string"}
148
- ],
149
- "examples": [
150
- "flyway snapshot -snapshot.filename=schema_snapshot.json",
151
- "flyway -url=jdbc:postgresql://localhost:5432/mydb snapshot -snapshot.filename=prod.json"
152
- ]
153
- },
154
- {
155
- "name": "diff",
156
- "description": "Compare two database schemas, migration directories, or snapshots and show the differences. Requires Flyway Teams edition.",
157
- "args": [],
158
- "options": [
159
- {"name": "-diff.source", "description": "Source for comparison (url, empty, migrations, snapshot)", "type": "string"},
160
- {"name": "-diff.target", "description": "Target for comparison", "type": "string"},
161
- {"name": "-diff.artifactFilename", "description": "Output file for the generated diff migration", "type": "string"},
162
- {"name": "-url", "description": "Database URL for the source", "type": "string"},
163
- {"name": "-diff.buildUrl", "description": "Database URL for the target environment", "type": "string"}
164
- ],
165
- "examples": [
166
- "flyway diff -diff.source=url -diff.target=migrations",
167
- "flyway diff -diff.source=url -diff.target=empty -diff.artifactFilename=changes.sql"
168
- ]
169
- },
170
- {
171
- "name": "check",
172
- "description": "Check for schema drift, pending changes, or perform dry-run analysis. Supports sub-operations: changes, drift, and dry-run. Requires Flyway Teams edition.",
173
- "args": [],
174
- "options": [
175
- {"name": "-changes", "description": "Check for pending schema changes"},
176
- {"name": "-drift", "description": "Check for drift between the database and applied migrations"},
177
- {"name": "-dryrun", "description": "Perform a dry-run of pending migrations without applying them"},
178
- {"name": "-url", "description": "JDBC URL of the database", "type": "string"},
179
- {"name": "-user", "description": "Database user", "type": "string"},
180
- {"name": "-password", "description": "Database password", "type": "string"},
181
- {"name": "-check.buildUrl", "description": "URL for a clean build database for comparison", "type": "string"},
182
- {"name": "-outputType", "description": "Output format: text or json", "type": "string"},
183
- {"name": "-check.reportFilename", "description": "Path for the check report file", "type": "string"}
184
- ],
185
- "examples": [
186
- "flyway check -changes",
187
- "flyway check -drift",
188
- "flyway check -dryrun",
189
- "flyway check -changes -check.buildUrl=jdbc:postgresql://localhost/builddb",
190
- "flyway check -changes -outputType=json -check.reportFilename=report.json"
191
- ]
192
- }
193
- ],
194
- "globalOptions": [
195
- {"name": "-help", "description": "Show help information"},
196
- {"name": "-version", "description": "Show Flyway version"},
197
- {"name": "-url", "description": "JDBC URL to the database", "type": "string"},
198
- {"name": "-user", "description": "Database username", "type": "string"},
199
- {"name": "-password", "description": "Database password", "type": "string"},
200
- {"name": "-driver", "description": "Fully qualified class name of the JDBC driver", "type": "string"},
201
- {"name": "-schemas", "description": "Comma-separated list of schemas managed by Flyway", "type": "string"},
202
- {"name": "-table", "description": "Name of the schema history table", "type": "string"},
203
- {"name": "-locations", "description": "Comma-separated list of locations to scan for migrations", "type": "string"},
204
- {"name": "-configFiles", "description": "Comma-separated list of configuration files to load", "type": "string"},
205
- {"name": "-encoding", "description": "Encoding of SQL migration files (default: UTF-8)", "type": "string"},
206
- {"name": "-placeholders", "description": "Placeholders to replace in SQL migrations (key=value format)", "type": "string"},
207
- {"name": "-outputType", "description": "Output format: text or json", "type": "string"},
208
- {"name": "-environment", "description": "The environment to use from TOML config", "type": "string"},
209
- {"name": "-workingDirectory", "description": "Working directory for Flyway", "type": "string"},
210
- {"name": "-teams", "description": "Enable Flyway Teams features"},
211
- {"name": "-color", "description": "Colorize output: always, never, auto", "type": "string"}
212
- ],
213
- "examples": [
214
- "flyway migrate",
215
- "flyway info",
216
- "flyway validate",
217
- "flyway clean",
218
- "flyway baseline",
219
- "flyway repair",
220
- "flyway undo",
221
- "flyway -url=jdbc:postgresql://localhost:5432/mydb -user=admin -password=secret migrate",
222
- "flyway -configFiles=flyway.conf migrate",
223
- "flyway info -outputType=json",
224
- "flyway migrate -target=5 -outOfOrder=true",
225
- "flyway snapshot -snapshot.filename=schema.json",
226
- "flyway check -changes -check.buildUrl=jdbc:postgresql://localhost/builddb"
227
- ],
228
- "relatedCommands": ["liquibase", "alembic", "dbmate"],
229
- "contextEngine": {
230
- "detectors": [
231
- {
232
- "name": "flyway_config_detect",
233
- "description": "Detect Flyway configuration files",
234
- "command": "find . -maxdepth 2 -name 'flyway.conf' -o -name 'flyway.toml' 2>/dev/null | head -5",
235
- "parser": "lines",
236
- "cacheFor": 60
237
- },
238
- {
239
- "name": "flyway_migrations_detect",
240
- "description": "Detect Flyway SQL migration files",
241
- "command": "find . -path '*/db/migration/*' -name 'V*.sql' -o -name 'R*.sql' -o -name 'U*.sql' 2>/dev/null | head -10",
242
- "parser": "lines",
243
- "cacheFor": 30
244
- },
245
- {
246
- "name": "flyway_version",
247
- "description": "Get installed Flyway version",
248
- "command": "flyway -version 2>/dev/null | head -3 || echo 'not installed'",
249
- "parser": "lines",
250
- "cacheFor": 120
251
- },
252
- {
253
- "name": "flyway_info_detect",
254
- "description": "Get current migration status",
255
- "command": "flyway info 2>/dev/null | head -20 || echo 'not available'",
256
- "parser": "lines",
257
- "cacheFor": 30
258
- }
259
- ]
260
- }
261
- }
1
+ {
2
+ "name": "flyway",
3
+ "description": "Flyway is a database migration tool that supports versioned and repeatable migrations using SQL or Java, with strong emphasis on simplicity and convention over configuration",
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": "migrate",
19
+ "description": "Apply all pending versioned migrations to the database in order. Repeatable migrations are applied after versioned migrations when their checksum changes.",
20
+ "args": [],
21
+ "options": [
22
+ {
23
+ "name": "-url",
24
+ "description": "JDBC URL of the database to migrate",
25
+ "type": "string"
26
+ },
27
+ {
28
+ "name": "-user",
29
+ "description": "Database user for the connection",
30
+ "type": "string"
31
+ },
32
+ {
33
+ "name": "-password",
34
+ "description": "Database password for the connection",
35
+ "type": "string"
36
+ },
37
+ {
38
+ "name": "-schemas",
39
+ "description": "Comma-separated list of schemas to manage",
40
+ "type": "string"
41
+ },
42
+ {
43
+ "name": "-table",
44
+ "description": "Name of the schema history table (default: flyway_schema_history)",
45
+ "type": "string"
46
+ },
47
+ {
48
+ "name": "-locations",
49
+ "description": "Comma-separated list of locations to scan for migrations",
50
+ "type": "string"
51
+ },
52
+ {
53
+ "name": "-target",
54
+ "description": "Target version up to which migrations should be applied",
55
+ "type": "string"
56
+ },
57
+ {
58
+ "name": "-outOfOrder",
59
+ "description": "Allow out-of-order migrations (default: false)",
60
+ "type": "string"
61
+ },
62
+ {
63
+ "name": "-connectRetries",
64
+ "description": "Number of retries for database connections",
65
+ "type": "string"
66
+ },
67
+ {
68
+ "name": "-mixed",
69
+ "description": "Allow mixing transactional and non-transactional statements in a migration",
70
+ "type": "string"
71
+ },
72
+ {
73
+ "name": "-group",
74
+ "description": "Group all pending migrations in a single transaction",
75
+ "type": "string"
76
+ },
77
+ {
78
+ "name": "-validateOnMigrate",
79
+ "description": "Validate applied migrations against resolved ones",
80
+ "type": "string"
81
+ },
82
+ {
83
+ "name": "-baselineOnMigrate",
84
+ "description": "Automatically baseline when migrating against a non-empty schema",
85
+ "type": "string"
86
+ },
87
+ {
88
+ "name": "-cherryPick",
89
+ "description": "Apply only specific migrations by version",
90
+ "type": "string"
91
+ }
92
+ ],
93
+ "examples": [
94
+ "flyway migrate",
95
+ "flyway -url=jdbc:postgresql://localhost:5432/mydb -user=admin -password=secret migrate",
96
+ "flyway migrate -target=5",
97
+ "flyway migrate -outOfOrder=true",
98
+ "flyway migrate -group=true",
99
+ "flyway migrate -baselineOnMigrate=true",
100
+ "flyway -configFiles=conf/flyway.conf migrate"
101
+ ]
102
+ },
103
+ {
104
+ "name": "clean",
105
+ "description": "Drop all objects (tables, views, procedures, triggers, etc.) in the configured schemas. WARNING: This is a destructive operation and should never be used against production databases.",
106
+ "args": [],
107
+ "options": [
108
+ {
109
+ "name": "-url",
110
+ "description": "JDBC URL of the database",
111
+ "type": "string"
112
+ },
113
+ {
114
+ "name": "-user",
115
+ "description": "Database user",
116
+ "type": "string"
117
+ },
118
+ {
119
+ "name": "-password",
120
+ "description": "Database password",
121
+ "type": "string"
122
+ },
123
+ {
124
+ "name": "-schemas",
125
+ "description": "Schemas to clean",
126
+ "type": "string"
127
+ },
128
+ {
129
+ "name": "-cleanDisabled",
130
+ "description": "Set to false to enable clean (disabled by default for safety)",
131
+ "type": "string"
132
+ }
133
+ ],
134
+ "examples": [
135
+ "flyway clean",
136
+ "flyway -url=jdbc:mysql://localhost:3306/testdb -user=root clean",
137
+ "flyway clean -cleanDisabled=false"
138
+ ]
139
+ },
140
+ {
141
+ "name": "info",
142
+ "description": "Display the details and status of all migrations, showing applied, pending, and failed migrations with their versions and descriptions.",
143
+ "args": [],
144
+ "options": [
145
+ {
146
+ "name": "-url",
147
+ "description": "JDBC URL of the database",
148
+ "type": "string"
149
+ },
150
+ {
151
+ "name": "-user",
152
+ "description": "Database user",
153
+ "type": "string"
154
+ },
155
+ {
156
+ "name": "-password",
157
+ "description": "Database password",
158
+ "type": "string"
159
+ },
160
+ {
161
+ "name": "-outputType",
162
+ "description": "Output format: text or json",
163
+ "type": "string"
164
+ },
165
+ {
166
+ "name": "-infoSinceDate",
167
+ "description": "Show only migrations applied after this date",
168
+ "type": "string"
169
+ },
170
+ {
171
+ "name": "-infoSinceVersion",
172
+ "description": "Show only migrations from this version onwards",
173
+ "type": "string"
174
+ }
175
+ ],
176
+ "examples": [
177
+ "flyway info",
178
+ "flyway info -outputType=json",
179
+ "flyway -url=jdbc:postgresql://localhost:5432/mydb -user=admin info",
180
+ "flyway info -infoSinceVersion=3"
181
+ ]
182
+ },
183
+ {
184
+ "name": "validate",
185
+ "description": "Validate applied migrations against the locally available ones. Detects accidental changes to already applied migrations and verifies checksums match.",
186
+ "args": [],
187
+ "options": [
188
+ {
189
+ "name": "-url",
190
+ "description": "JDBC URL of the database",
191
+ "type": "string"
192
+ },
193
+ {
194
+ "name": "-user",
195
+ "description": "Database user",
196
+ "type": "string"
197
+ },
198
+ {
199
+ "name": "-password",
200
+ "description": "Database password",
201
+ "type": "string"
202
+ },
203
+ {
204
+ "name": "-ignoreMigrationPatterns",
205
+ "description": "Patterns for migrations to ignore during validation",
206
+ "type": "string"
207
+ }
208
+ ],
209
+ "examples": [
210
+ "flyway validate",
211
+ "flyway -url=jdbc:postgresql://localhost:5432/mydb validate",
212
+ "flyway validate -ignoreMigrationPatterns='*:pending'"
213
+ ]
214
+ },
215
+ {
216
+ "name": "undo",
217
+ "description": "Undo the most recently applied versioned migration. Requires Flyway Teams/Enterprise edition. Executes the undo script associated with the migration.",
218
+ "args": [],
219
+ "options": [
220
+ {
221
+ "name": "-url",
222
+ "description": "JDBC URL of the database",
223
+ "type": "string"
224
+ },
225
+ {
226
+ "name": "-user",
227
+ "description": "Database user",
228
+ "type": "string"
229
+ },
230
+ {
231
+ "name": "-password",
232
+ "description": "Database password",
233
+ "type": "string"
234
+ },
235
+ {
236
+ "name": "-target",
237
+ "description": "Target version to undo down to",
238
+ "type": "string"
239
+ },
240
+ {
241
+ "name": "-cherryPick",
242
+ "description": "Undo only specific migration versions",
243
+ "type": "string"
244
+ }
245
+ ],
246
+ "examples": [
247
+ "flyway undo",
248
+ "flyway undo -target=3",
249
+ "flyway -url=jdbc:postgresql://localhost:5432/mydb -user=admin undo"
250
+ ]
251
+ },
252
+ {
253
+ "name": "baseline",
254
+ "description": "Baseline an existing database, marking it as the starting point for future Flyway migrations. Introduces Flyway to a pre-existing database.",
255
+ "args": [],
256
+ "options": [
257
+ {
258
+ "name": "-url",
259
+ "description": "JDBC URL of the database",
260
+ "type": "string"
261
+ },
262
+ {
263
+ "name": "-user",
264
+ "description": "Database user",
265
+ "type": "string"
266
+ },
267
+ {
268
+ "name": "-password",
269
+ "description": "Database password",
270
+ "type": "string"
271
+ },
272
+ {
273
+ "name": "-baselineVersion",
274
+ "description": "Version to tag the existing schema with (default: 1)",
275
+ "type": "string"
276
+ },
277
+ {
278
+ "name": "-baselineDescription",
279
+ "description": "Description to tag the existing schema with",
280
+ "type": "string"
281
+ }
282
+ ],
283
+ "examples": [
284
+ "flyway baseline",
285
+ "flyway baseline -baselineVersion=5 -baselineDescription='Initial baseline'",
286
+ "flyway -url=jdbc:mysql://localhost/mydb -user=root baseline"
287
+ ]
288
+ },
289
+ {
290
+ "name": "repair",
291
+ "description": "Repair the schema history table by removing failed migration entries (for databases without DDL transactions) and realigning checksums and descriptions.",
292
+ "args": [],
293
+ "options": [
294
+ {
295
+ "name": "-url",
296
+ "description": "JDBC URL of the database",
297
+ "type": "string"
298
+ },
299
+ {
300
+ "name": "-user",
301
+ "description": "Database user",
302
+ "type": "string"
303
+ },
304
+ {
305
+ "name": "-password",
306
+ "description": "Database password",
307
+ "type": "string"
308
+ }
309
+ ],
310
+ "examples": [
311
+ "flyway repair",
312
+ "flyway -url=jdbc:postgresql://localhost:5432/mydb repair"
313
+ ]
314
+ },
315
+ {
316
+ "name": "snapshot",
317
+ "description": "Capture a snapshot of the database schema structure for later comparison or diffing. Requires Flyway Teams edition.",
318
+ "args": [],
319
+ "options": [
320
+ {
321
+ "name": "-url",
322
+ "description": "JDBC URL of the database to snapshot",
323
+ "type": "string"
324
+ },
325
+ {
326
+ "name": "-user",
327
+ "description": "Database user",
328
+ "type": "string"
329
+ },
330
+ {
331
+ "name": "-password",
332
+ "description": "Database password",
333
+ "type": "string"
334
+ },
335
+ {
336
+ "name": "-snapshot.filename",
337
+ "description": "Output file for the snapshot",
338
+ "type": "string"
339
+ },
340
+ {
341
+ "name": "-schemas",
342
+ "description": "Schemas to include in the snapshot",
343
+ "type": "string"
344
+ }
345
+ ],
346
+ "examples": [
347
+ "flyway snapshot -snapshot.filename=schema_snapshot.json",
348
+ "flyway -url=jdbc:postgresql://localhost:5432/mydb snapshot -snapshot.filename=prod.json"
349
+ ]
350
+ },
351
+ {
352
+ "name": "diff",
353
+ "description": "Compare two database schemas, migration directories, or snapshots and show the differences. Requires Flyway Teams edition.",
354
+ "args": [],
355
+ "options": [
356
+ {
357
+ "name": "-diff.source",
358
+ "description": "Source for comparison (url, empty, migrations, snapshot)",
359
+ "type": "string"
360
+ },
361
+ {
362
+ "name": "-diff.target",
363
+ "description": "Target for comparison",
364
+ "type": "string"
365
+ },
366
+ {
367
+ "name": "-diff.artifactFilename",
368
+ "description": "Output file for the generated diff migration",
369
+ "type": "string"
370
+ },
371
+ {
372
+ "name": "-url",
373
+ "description": "Database URL for the source",
374
+ "type": "string"
375
+ },
376
+ {
377
+ "name": "-diff.buildUrl",
378
+ "description": "Database URL for the target environment",
379
+ "type": "string"
380
+ }
381
+ ],
382
+ "examples": [
383
+ "flyway diff -diff.source=url -diff.target=migrations",
384
+ "flyway diff -diff.source=url -diff.target=empty -diff.artifactFilename=changes.sql"
385
+ ]
386
+ },
387
+ {
388
+ "name": "check",
389
+ "description": "Check for schema drift, pending changes, or perform dry-run analysis. Supports sub-operations: changes, drift, and dry-run. Requires Flyway Teams edition.",
390
+ "args": [],
391
+ "options": [
392
+ {
393
+ "name": "-changes",
394
+ "description": "Check for pending schema changes"
395
+ },
396
+ {
397
+ "name": "-drift",
398
+ "description": "Check for drift between the database and applied migrations"
399
+ },
400
+ {
401
+ "name": "-dryrun",
402
+ "description": "Perform a dry-run of pending migrations without applying them"
403
+ },
404
+ {
405
+ "name": "-url",
406
+ "description": "JDBC URL of the database",
407
+ "type": "string"
408
+ },
409
+ {
410
+ "name": "-user",
411
+ "description": "Database user",
412
+ "type": "string"
413
+ },
414
+ {
415
+ "name": "-password",
416
+ "description": "Database password",
417
+ "type": "string"
418
+ },
419
+ {
420
+ "name": "-check.buildUrl",
421
+ "description": "URL for a clean build database for comparison",
422
+ "type": "string"
423
+ },
424
+ {
425
+ "name": "-outputType",
426
+ "description": "Output format: text or json",
427
+ "type": "string"
428
+ },
429
+ {
430
+ "name": "-check.reportFilename",
431
+ "description": "Path for the check report file",
432
+ "type": "string"
433
+ }
434
+ ],
435
+ "examples": [
436
+ "flyway check -changes",
437
+ "flyway check -drift",
438
+ "flyway check -dryrun",
439
+ "flyway check -changes -check.buildUrl=jdbc:postgresql://localhost/builddb",
440
+ "flyway check -changes -outputType=json -check.reportFilename=report.json"
441
+ ]
442
+ }
443
+ ],
444
+ "globalOptions": [
445
+ {
446
+ "name": "-help",
447
+ "description": "Show help information"
448
+ },
449
+ {
450
+ "name": "-version",
451
+ "description": "Show Flyway version"
452
+ },
453
+ {
454
+ "name": "-url",
455
+ "description": "JDBC URL to the database",
456
+ "type": "string"
457
+ },
458
+ {
459
+ "name": "-user",
460
+ "description": "Database username",
461
+ "type": "string"
462
+ },
463
+ {
464
+ "name": "-password",
465
+ "description": "Database password",
466
+ "type": "string"
467
+ },
468
+ {
469
+ "name": "-driver",
470
+ "description": "Fully qualified class name of the JDBC driver",
471
+ "type": "string"
472
+ },
473
+ {
474
+ "name": "-schemas",
475
+ "description": "Comma-separated list of schemas managed by Flyway",
476
+ "type": "string"
477
+ },
478
+ {
479
+ "name": "-table",
480
+ "description": "Name of the schema history table",
481
+ "type": "string"
482
+ },
483
+ {
484
+ "name": "-locations",
485
+ "description": "Comma-separated list of locations to scan for migrations",
486
+ "type": "string"
487
+ },
488
+ {
489
+ "name": "-configFiles",
490
+ "description": "Comma-separated list of configuration files to load",
491
+ "type": "string"
492
+ },
493
+ {
494
+ "name": "-encoding",
495
+ "description": "Encoding of SQL migration files (default: UTF-8)",
496
+ "type": "string"
497
+ },
498
+ {
499
+ "name": "-placeholders",
500
+ "description": "Placeholders to replace in SQL migrations (key=value format)",
501
+ "type": "string"
502
+ },
503
+ {
504
+ "name": "-outputType",
505
+ "description": "Output format: text or json",
506
+ "type": "string"
507
+ },
508
+ {
509
+ "name": "-environment",
510
+ "description": "The environment to use from TOML config",
511
+ "type": "string"
512
+ },
513
+ {
514
+ "name": "-workingDirectory",
515
+ "description": "Working directory for Flyway",
516
+ "type": "string"
517
+ },
518
+ {
519
+ "name": "-teams",
520
+ "description": "Enable Flyway Teams features"
521
+ },
522
+ {
523
+ "name": "-color",
524
+ "description": "Colorize output: always, never, auto",
525
+ "type": "string"
526
+ }
527
+ ],
528
+ "examples": [
529
+ "flyway migrate",
530
+ "flyway info",
531
+ "flyway validate",
532
+ "flyway clean",
533
+ "flyway baseline",
534
+ "flyway repair",
535
+ "flyway undo",
536
+ "flyway -url=jdbc:postgresql://localhost:5432/mydb -user=admin -password=secret migrate",
537
+ "flyway -configFiles=flyway.conf migrate",
538
+ "flyway info -outputType=json",
539
+ "flyway migrate -target=5 -outOfOrder=true",
540
+ "flyway snapshot -snapshot.filename=schema.json",
541
+ "flyway check -changes -check.buildUrl=jdbc:postgresql://localhost/builddb"
542
+ ],
543
+ "relatedCommands": [
544
+ "liquibase",
545
+ "alembic",
546
+ "dbmate"
547
+ ],
548
+ "contextEngine": {
549
+ "detectors": [
550
+ {
551
+ "name": "flyway_config_detect",
552
+ "description": "Detect Flyway configuration files",
553
+ "command": "find . -maxdepth 2 -name 'flyway.conf' -o -name 'flyway.toml' 2>/dev/null | head -5",
554
+ "parser": "lines",
555
+ "cacheFor": 60
556
+ },
557
+ {
558
+ "name": "flyway_migrations_detect",
559
+ "description": "Detect Flyway SQL migration files",
560
+ "command": "find . -path '*/db/migration/*' -name 'V*.sql' -o -name 'R*.sql' -o -name 'U*.sql' 2>/dev/null | head -10",
561
+ "parser": "lines",
562
+ "cacheFor": 30
563
+ },
564
+ {
565
+ "name": "flyway_version",
566
+ "description": "Get installed Flyway version",
567
+ "command": "flyway -version 2>/dev/null | head -3 || echo 'not installed'",
568
+ "parser": "lines",
569
+ "cacheFor": 120
570
+ },
571
+ {
572
+ "name": "flyway_info_detect",
573
+ "description": "Get current migration status",
574
+ "command": "flyway info 2>/dev/null | head -20 || echo 'not available'",
575
+ "parser": "lines",
576
+ "cacheFor": 30
577
+ }
578
+ ]
579
+ }
580
+ }