@enjoys/context-engine 1.6.0 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (546) hide show
  1. package/README.md +8 -8
  2. package/data/color/abap.json +8 -8
  3. package/data/color/angular.json +11 -36
  4. package/data/color/apex.json +8 -8
  5. package/data/color/awk.json +40 -80
  6. package/data/color/azcli.json +8 -8
  7. package/data/color/bicep.json +8 -8
  8. package/data/color/c.json +4 -4
  9. package/data/color/caddy.json +8 -8
  10. package/data/color/cameligo.json +8 -8
  11. package/data/color/clojure.json +8 -8
  12. package/data/color/coffee.json +10 -17
  13. package/data/color/cpp.json +4 -4
  14. package/data/color/crontab.json +8 -8
  15. package/data/color/csharp.json +49 -109
  16. package/data/color/css.json +8 -32
  17. package/data/color/cypher.json +8 -8
  18. package/data/color/docker-compose.json +8 -8
  19. package/data/color/dockerfile.json +8 -8
  20. package/data/color/doctest.json +8 -8
  21. package/data/color/dotenv.json +8 -8
  22. package/data/color/ecl.json +8 -8
  23. package/data/color/elixir.json +49 -109
  24. package/data/color/flow9.json +8 -8
  25. package/data/color/freemarker2.json +61 -121
  26. package/data/color/go.json +4 -4
  27. package/data/color/graphql.json +8 -8
  28. package/data/color/hcl.json +8 -8
  29. package/data/color/html.json +13 -43
  30. package/data/color/ini.json +8 -8
  31. package/data/color/java.json +49 -109
  32. package/data/color/javascript.json +13 -43
  33. package/data/color/json.json +8 -8
  34. package/data/color/julia.json +49 -109
  35. package/data/color/less.json +10 -17
  36. package/data/color/lexon.json +8 -8
  37. package/data/color/liquid.json +61 -121
  38. package/data/color/lua.json +4 -4
  39. package/data/color/m3.json +8 -8
  40. package/data/color/makefile.json +8 -8
  41. package/data/color/markdown.json +61 -121
  42. package/data/color/mdx.json +61 -121
  43. package/data/color/mips.json +8 -8
  44. package/data/color/msdax.json +8 -8
  45. package/data/color/mysql.json +8 -8
  46. package/data/color/nestjs.json +52 -18
  47. package/data/color/nextjs.json +60 -22
  48. package/data/color/nginx.json +8 -8
  49. package/data/color/objective-c.json +4 -4
  50. package/data/color/pascal.json +8 -8
  51. package/data/color/pascaligo.json +8 -8
  52. package/data/color/perl.json +4 -4
  53. package/data/color/pgsql.json +8 -8
  54. package/data/color/php.json +13 -43
  55. package/data/color/pla.json +8 -8
  56. package/data/color/postiats.json +8 -8
  57. package/data/color/powerquery.json +8 -8
  58. package/data/color/powershell.json +40 -80
  59. package/data/color/protobuf.json +8 -8
  60. package/data/color/python.json +49 -109
  61. package/data/color/qsharp.json +8 -8
  62. package/data/color/r.json +49 -109
  63. package/data/color/razor.json +61 -121
  64. package/data/color/react.json +65 -93
  65. package/data/color/redis-cli.json +8 -8
  66. package/data/color/redis.json +8 -8
  67. package/data/color/redshift.json +8 -8
  68. package/data/color/restructuredtext.json +8 -8
  69. package/data/color/ruby.json +49 -109
  70. package/data/color/rust.json +4 -4
  71. package/data/color/sb.json +8 -8
  72. package/data/color/scala.json +2 -12
  73. package/data/color/scheme.json +8 -8
  74. package/data/color/scss.json +10 -17
  75. package/data/color/shadcn.json +11 -36
  76. package/data/color/shell.json +8 -48
  77. package/data/color/sol.json +8 -8
  78. package/data/color/sparql.json +8 -8
  79. package/data/color/sql.json +8 -8
  80. package/data/color/ssh_config.json +8 -8
  81. package/data/color/st.json +8 -8
  82. package/data/color/swift.json +56 -37
  83. package/data/color/systemd.json +8 -8
  84. package/data/color/systemverilog.json +8 -8
  85. package/data/color/tailwindcss.json +6 -24
  86. package/data/color/tcl.json +40 -80
  87. package/data/color/toml.json +8 -8
  88. package/data/color/twig.json +61 -121
  89. package/data/color/typescript.json +13 -43
  90. package/data/color/vb.json +49 -109
  91. package/data/color/wgsl.json +8 -8
  92. package/data/color/xml.json +61 -121
  93. package/data/color/yaml.json +8 -8
  94. package/data/commands/air.json +117 -59
  95. package/data/commands/alembic.json +487 -301
  96. package/data/commands/aliyun.json +158 -0
  97. package/data/commands/amplify.json +174 -0
  98. package/data/commands/ansible.json +236 -24
  99. package/data/commands/apt-get.json +244 -81
  100. package/data/commands/apt.json +294 -91
  101. package/data/commands/argo.json +212 -0
  102. package/data/commands/argocd.json +144 -35
  103. package/data/commands/atlas.json +956 -426
  104. package/data/commands/aws-copilot.json +161 -0
  105. package/data/commands/aws-vault.json +266 -140
  106. package/data/commands/az-devops.json +155 -0
  107. package/data/commands/bazel.json +328 -103
  108. package/data/commands/bq.json +177 -0
  109. package/data/commands/brew.json +444 -140
  110. package/data/commands/btop.json +132 -59
  111. package/data/commands/cabal.json +1 -1
  112. package/data/commands/calicoctl.json +154 -0
  113. package/data/commands/cd.json +90 -48
  114. package/data/commands/chamber.json +128 -0
  115. package/data/commands/choco.json +430 -134
  116. package/data/commands/chown.json +139 -59
  117. package/data/commands/cilium.json +154 -0
  118. package/data/commands/civo.json +147 -0
  119. package/data/commands/clickhouse-client.json +183 -74
  120. package/data/commands/cloudflared.json +133 -0
  121. package/data/commands/cmake.json +301 -110
  122. package/data/commands/cmctl.json +143 -0
  123. package/data/commands/cockroach.json +269 -92
  124. package/data/commands/conda.json +435 -94
  125. package/data/commands/consul.json +377 -125
  126. package/data/commands/crossplane.json +119 -0
  127. package/data/commands/crystal.json +1 -1
  128. package/data/commands/dbmate.json +498 -257
  129. package/data/commands/devspace.json +198 -0
  130. package/data/commands/django-admin.json +489 -86
  131. package/data/commands/dnf.json +428 -137
  132. package/data/commands/dockerfile.json +1 -1
  133. package/data/commands/doctl.json +510 -156
  134. package/data/commands/doppler.json +161 -0
  135. package/data/commands/dotnet.json +1 -1
  136. package/data/commands/drizzle-kit.json +435 -217
  137. package/data/commands/eb.json +201 -0
  138. package/data/commands/ecs-cli.json +132 -0
  139. package/data/commands/erlang.json +1 -1
  140. package/data/commands/eslint.json +193 -69
  141. package/data/commands/expo.json +65 -65
  142. package/data/commands/firebase.json +406 -97
  143. package/data/commands/flask.json +254 -79
  144. package/data/commands/flux.json +190 -0
  145. package/data/commands/flyctl.json +657 -148
  146. package/data/commands/flyway.json +580 -261
  147. package/data/commands/garden.json +180 -0
  148. package/data/commands/ghc.json +1 -1
  149. package/data/commands/glab.json +577 -116
  150. package/data/commands/gofmt.json +101 -51
  151. package/data/commands/golangci-lint.json +243 -89
  152. package/data/commands/gradle.json +182 -44
  153. package/data/commands/gsutil.json +197 -0
  154. package/data/commands/gunicorn.json +243 -83
  155. package/data/commands/hcloud.json +169 -0
  156. package/data/commands/helmfile.json +178 -0
  157. package/data/commands/heroku.json +239 -0
  158. package/data/commands/hg.json +502 -92
  159. package/data/commands/htop.json +151 -56
  160. package/data/commands/ibmcloud.json +184 -0
  161. package/data/commands/infisical.json +127 -0
  162. package/data/commands/influx.json +363 -119
  163. package/data/commands/iptables.json +251 -86
  164. package/data/commands/istioctl.json +129 -23
  165. package/data/commands/javac.json +1 -1
  166. package/data/commands/just.json +262 -93
  167. package/data/commands/k3d.json +156 -0
  168. package/data/commands/k3s.json +134 -0
  169. package/data/commands/k9s.json +169 -62
  170. package/data/commands/kamel.json +155 -0
  171. package/data/commands/kn.json +160 -0
  172. package/data/commands/kube-score.json +86 -0
  173. package/data/commands/kubeconform.json +98 -0
  174. package/data/commands/kubectx.json +58 -0
  175. package/data/commands/kubens.json +45 -0
  176. package/data/commands/kustomize.json +82 -17
  177. package/data/commands/lightsail.json +168 -0
  178. package/data/commands/linkerd.json +174 -0
  179. package/data/commands/linode-cli.json +360 -117
  180. package/data/commands/linux.json +1 -1
  181. package/data/commands/liquibase.json +739 -399
  182. package/data/commands/manifest.json +1 -1
  183. package/data/commands/mc.json +236 -0
  184. package/data/commands/minikube.json +264 -60
  185. package/data/commands/mix.json +1 -1
  186. package/data/commands/mongosh.json +174 -73
  187. package/data/commands/mvn.json +179 -45
  188. package/data/commands/mysql.json +1 -1
  189. package/data/commands/nest.json +270 -69
  190. package/data/commands/netlify.json +384 -92
  191. package/data/commands/next.json +221 -71
  192. package/data/commands/nft.json +299 -105
  193. package/data/commands/nim.json +1 -1
  194. package/data/commands/nomad.json +398 -139
  195. package/data/commands/npx.json +141 -58
  196. package/data/commands/nx.json +348 -82
  197. package/data/commands/ocaml.json +1 -1
  198. package/data/commands/oci.json +184 -0
  199. package/data/commands/okteto.json +164 -0
  200. package/data/commands/opam.json +1 -1
  201. package/data/commands/openstack.json +212 -0
  202. package/data/commands/packer.json +273 -92
  203. package/data/commands/pacman.json +228 -82
  204. package/data/commands/pg_dump.json +233 -83
  205. package/data/commands/pg_restore.json +224 -74
  206. package/data/commands/pipenv.json +300 -79
  207. package/data/commands/pipx.json +241 -53
  208. package/data/commands/poetry.json +521 -96
  209. package/data/commands/popeye.json +109 -0
  210. package/data/commands/prettier.json +201 -71
  211. package/data/commands/pulumi.json +409 -130
  212. package/data/commands/pytest.json +240 -92
  213. package/data/commands/railway.json +343 -91
  214. package/data/commands/rancher.json +141 -0
  215. package/data/commands/rclone.json +275 -0
  216. package/data/commands/react-native.json +57 -57
  217. package/data/commands/rebar3.json +1 -1
  218. package/data/commands/render.json +235 -72
  219. package/data/commands/rustc.json +1 -1
  220. package/data/commands/rustup.json +339 -103
  221. package/data/commands/s3cmd.json +201 -0
  222. package/data/commands/scala.json +1 -1
  223. package/data/commands/scp.json +146 -60
  224. package/data/commands/scw.json +169 -0
  225. package/data/commands/sequelize.json +629 -342
  226. package/data/commands/skaffold.json +189 -0
  227. package/data/commands/skopeo.json +100 -19
  228. package/data/commands/sops.json +112 -24
  229. package/data/commands/sqlite3.json +167 -68
  230. package/data/commands/stack.json +1 -1
  231. package/data/commands/stern.json +124 -0
  232. package/data/commands/supabase.json +433 -108
  233. package/data/commands/svn.json +509 -75
  234. package/data/commands/swiftc.json +1 -1
  235. package/data/commands/telepresence.json +122 -0
  236. package/data/commands/terraform.json +1505 -824
  237. package/data/commands/terragrunt.json +217 -83
  238. package/data/commands/tilt.json +160 -0
  239. package/data/commands/tkn.json +150 -0
  240. package/data/commands/top.json +167 -61
  241. package/data/commands/tsc.json +234 -85
  242. package/data/commands/turbo.json +263 -72
  243. package/data/commands/typeorm.json +427 -262
  244. package/data/commands/ufw.json +254 -76
  245. package/data/commands/unzip.json +154 -59
  246. package/data/commands/upcloud.json +129 -0
  247. package/data/commands/uvicorn.json +215 -73
  248. package/data/commands/vault.json +462 -144
  249. package/data/commands/velero.json +141 -0
  250. package/data/commands/vercel.json +410 -98
  251. package/data/commands/vite.json +239 -63
  252. package/data/commands/vultr.json +157 -0
  253. package/data/commands/wasm-pack.json +254 -90
  254. package/data/commands/winget.json +466 -131
  255. package/data/commands/wrangler.json +129 -29
  256. package/data/commands/yum.json +323 -98
  257. package/data/commands/zig.json +1 -1
  258. package/data/commands/zip.json +159 -59
  259. package/data/completion/abap.json +423 -341
  260. package/data/completion/apex.json +423 -43
  261. package/data/completion/awk.json +1 -45
  262. package/data/completion/azcli.json +58 -115
  263. package/data/completion/bicep.json +90 -90
  264. package/data/completion/cameligo.json +533 -487
  265. package/data/completion/clojure.json +533 -488
  266. package/data/completion/coffee.json +522 -479
  267. package/data/completion/crontab.json +1 -34
  268. package/data/completion/cypher.json +687 -628
  269. package/data/completion/docker-compose.json +962 -959
  270. package/data/completion/dockerfile.json +1270 -1285
  271. package/data/completion/doctest.json +489 -526
  272. package/data/completion/ecl.json +588 -598
  273. package/data/completion/elixir.json +709 -649
  274. package/data/completion/flow9.json +401 -376
  275. package/data/completion/freemarker2.json +632 -579
  276. package/data/completion/go.json +10037 -10037
  277. package/data/completion/julia.json +698 -638
  278. package/data/completion/less.json +412 -378
  279. package/data/completion/lexon.json +80 -52
  280. package/data/completion/liquid.json +544 -499
  281. package/data/completion/lua.json +2535 -2634
  282. package/data/completion/m3.json +643 -587
  283. package/data/completion/makefile.json +1 -56
  284. package/data/completion/markdown.json +1 -56
  285. package/data/completion/mips.json +83 -49
  286. package/data/completion/msdax.json +511 -467
  287. package/data/completion/mysql.json +676 -638
  288. package/data/completion/objective-c.json +687 -629
  289. package/data/completion/pascal.json +709 -649
  290. package/data/completion/pascaligo.json +544 -517
  291. package/data/completion/perl.json +1 -89
  292. package/data/completion/pgsql.json +698 -638
  293. package/data/completion/postiats.json +445 -417
  294. package/data/completion/powerquery.json +621 -587
  295. package/data/completion/powershell.json +1 -166
  296. package/data/completion/protobuf.json +7 -117
  297. package/data/completion/qsharp.json +643 -587
  298. package/data/completion/r.json +2469 -1985
  299. package/data/completion/razor.json +533 -488
  300. package/data/completion/redis-cli.json +120 -60
  301. package/data/completion/redis.json +423 -389
  302. package/data/completion/redshift.json +698 -638
  303. package/data/completion/restructuredtext.json +544 -499
  304. package/data/completion/ruby.json +1930 -1531
  305. package/data/completion/sb.json +434 -398
  306. package/data/completion/scheme.json +555 -510
  307. package/data/completion/scss.json +544 -500
  308. package/data/completion/shell.json +115 -70
  309. package/data/completion/sol.json +720 -660
  310. package/data/completion/sparql.json +643 -587
  311. package/data/completion/st.json +698 -638
  312. package/data/completion/systemverilog.json +698 -638
  313. package/data/completion/tailwindcss.json +2821 -284
  314. package/data/completion/tcl.json +544 -499
  315. package/data/completion/twig.json +555 -510
  316. package/data/completion/vb.json +720 -660
  317. package/data/completion/wgsl.json +709 -649
  318. package/data/foldingRange/abap.json +0 -24
  319. package/data/foldingRange/angular.json +0 -18
  320. package/data/foldingRange/apex.json +0 -24
  321. package/data/foldingRange/awk.json +0 -18
  322. package/data/foldingRange/azcli.json +0 -18
  323. package/data/foldingRange/bicep.json +0 -18
  324. package/data/foldingRange/c.json +0 -24
  325. package/data/foldingRange/caddy.json +0 -18
  326. package/data/foldingRange/cameligo.json +0 -18
  327. package/data/foldingRange/clojure.json +0 -18
  328. package/data/foldingRange/coffee.json +0 -18
  329. package/data/foldingRange/cpp.json +0 -24
  330. package/data/foldingRange/crontab.json +0 -18
  331. package/data/foldingRange/csharp.json +0 -24
  332. package/data/foldingRange/css.json +5 -19
  333. package/data/foldingRange/cypher.json +0 -18
  334. package/data/foldingRange/dart.json +0 -24
  335. package/data/foldingRange/docker-compose.json +0 -18
  336. package/data/foldingRange/dockerfile.json +0 -18
  337. package/data/foldingRange/doctest.json +0 -18
  338. package/data/foldingRange/dotenv.json +0 -18
  339. package/data/foldingRange/ecl.json +0 -30
  340. package/data/foldingRange/elixir.json +0 -24
  341. package/data/foldingRange/flow9.json +0 -12
  342. package/data/foldingRange/freemarker2.json +0 -12
  343. package/data/foldingRange/go.json +0 -24
  344. package/data/foldingRange/graphql.json +0 -12
  345. package/data/foldingRange/hcl.json +0 -12
  346. package/data/foldingRange/html.json +0 -18
  347. package/data/foldingRange/ini.json +0 -18
  348. package/data/foldingRange/java.json +0 -24
  349. package/data/foldingRange/javascript.json +0 -24
  350. package/data/foldingRange/json.json +0 -12
  351. package/data/foldingRange/julia.json +0 -12
  352. package/data/foldingRange/kotlin.json +0 -18
  353. package/data/foldingRange/less.json +0 -18
  354. package/data/foldingRange/lexon.json +0 -12
  355. package/data/foldingRange/liquid.json +0 -18
  356. package/data/foldingRange/lua.json +0 -24
  357. package/data/foldingRange/m3.json +0 -18
  358. package/data/foldingRange/makefile.json +0 -12
  359. package/data/foldingRange/markdown.json +0 -12
  360. package/data/foldingRange/mdx.json +0 -18
  361. package/data/foldingRange/mips.json +0 -18
  362. package/data/foldingRange/msdax.json +0 -12
  363. package/data/foldingRange/mysql.json +0 -18
  364. package/data/foldingRange/nestjs.json +0 -24
  365. package/data/foldingRange/nextjs.json +0 -24
  366. package/data/foldingRange/nginx.json +0 -12
  367. package/data/foldingRange/objective-c.json +0 -18
  368. package/data/foldingRange/pascal.json +0 -18
  369. package/data/foldingRange/pascaligo.json +0 -12
  370. package/data/foldingRange/perl.json +0 -18
  371. package/data/foldingRange/pgsql.json +0 -18
  372. package/data/foldingRange/php.json +0 -18
  373. package/data/foldingRange/pla.json +0 -12
  374. package/data/foldingRange/postiats.json +0 -18
  375. package/data/foldingRange/powerquery.json +0 -12
  376. package/data/foldingRange/powershell.json +0 -18
  377. package/data/foldingRange/protobuf.json +0 -12
  378. package/data/foldingRange/python.json +0 -18
  379. package/data/foldingRange/qsharp.json +0 -12
  380. package/data/foldingRange/r.json +0 -12
  381. package/data/foldingRange/razor.json +0 -18
  382. package/data/foldingRange/react.json +0 -24
  383. package/data/foldingRange/redis-cli.json +0 -12
  384. package/data/foldingRange/redis.json +0 -18
  385. package/data/foldingRange/redshift.json +0 -18
  386. package/data/foldingRange/restructuredtext.json +0 -12
  387. package/data/foldingRange/ruby.json +0 -24
  388. package/data/foldingRange/rust.json +0 -18
  389. package/data/foldingRange/sb.json +0 -18
  390. package/data/foldingRange/scala.json +0 -18
  391. package/data/foldingRange/scheme.json +0 -12
  392. package/data/foldingRange/scss.json +0 -18
  393. package/data/foldingRange/shadcn.json +0 -24
  394. package/data/foldingRange/shell.json +0 -18
  395. package/data/foldingRange/sol.json +0 -18
  396. package/data/foldingRange/sparql.json +0 -12
  397. package/data/foldingRange/sql.json +0 -18
  398. package/data/foldingRange/ssh_config.json +0 -12
  399. package/data/foldingRange/st.json +0 -18
  400. package/data/foldingRange/swift.json +0 -18
  401. package/data/foldingRange/systemd.json +0 -12
  402. package/data/foldingRange/systemverilog.json +0 -12
  403. package/data/foldingRange/tailwindcss.json +0 -12
  404. package/data/foldingRange/tcl.json +0 -18
  405. package/data/foldingRange/toml.json +0 -12
  406. package/data/foldingRange/twig.json +0 -12
  407. package/data/foldingRange/typescript.json +0 -24
  408. package/data/foldingRange/vb.json +0 -18
  409. package/data/foldingRange/wgsl.json +0 -12
  410. package/data/foldingRange/xml.json +0 -18
  411. package/data/foldingRange/yaml.json +0 -12
  412. package/data/formatting/awk.json +5 -5
  413. package/data/formatting/azcli.json +1 -1
  414. package/data/formatting/c.json +5 -5
  415. package/data/formatting/caddy.json +4 -4
  416. package/data/formatting/cpp.json +5 -5
  417. package/data/formatting/crontab.json +2 -2
  418. package/data/formatting/csharp.json +5 -5
  419. package/data/formatting/dockerfile.json +4 -3
  420. package/data/formatting/dotenv.json +2 -2
  421. package/data/formatting/elixir.json +3 -3
  422. package/data/formatting/go.json +5 -5
  423. package/data/formatting/graphql.json +4 -4
  424. package/data/formatting/hcl.json +8 -8
  425. package/data/formatting/html.json +8 -8
  426. package/data/formatting/ini.json +4 -3
  427. package/data/formatting/java.json +5 -5
  428. package/data/formatting/javascript.json +5 -5
  429. package/data/formatting/json.json +4 -4
  430. package/data/formatting/less.json +8 -4
  431. package/data/formatting/lua.json +5 -5
  432. package/data/formatting/makefile.json +8 -4
  433. package/data/formatting/markdown.json +4 -4
  434. package/data/formatting/mips.json +2 -1
  435. package/data/formatting/mysql.json +1 -1
  436. package/data/formatting/nginx.json +5 -5
  437. package/data/formatting/perl.json +5 -5
  438. package/data/formatting/pgsql.json +1 -1
  439. package/data/formatting/php.json +5 -5
  440. package/data/formatting/powershell.json +5 -5
  441. package/data/formatting/protobuf.json +4 -4
  442. package/data/formatting/python.json +5 -5
  443. package/data/formatting/r.json +6 -6
  444. package/data/formatting/redis-cli.json +2 -2
  445. package/data/formatting/redshift.json +1 -1
  446. package/data/formatting/restructuredtext.json +2 -1
  447. package/data/formatting/ruby.json +5 -5
  448. package/data/formatting/rust.json +5 -5
  449. package/data/formatting/scala.json +6 -2
  450. package/data/formatting/scss.json +8 -4
  451. package/data/formatting/shell.json +1 -16
  452. package/data/formatting/sql.json +5 -5
  453. package/data/formatting/ssh_config.json +4 -3
  454. package/data/formatting/swift.json +6 -2
  455. package/data/formatting/systemd.json +2 -2
  456. package/data/formatting/toml.json +4 -3
  457. package/data/formatting/typescript.json +5 -5
  458. package/data/formatting/xml.json +8 -8
  459. package/data/formatting/yaml.json +4 -3
  460. package/data/links/abap.json +14 -14
  461. package/data/links/apex.json +18 -18
  462. package/data/links/awk.json +20 -20
  463. package/data/links/azcli.json +20 -20
  464. package/data/links/bicep.json +12 -12
  465. package/data/links/c.json +22 -22
  466. package/data/links/caddy.json +22 -22
  467. package/data/links/cameligo.json +20 -20
  468. package/data/links/clojure.json +12 -12
  469. package/data/links/coffee.json +14 -14
  470. package/data/links/cpp.json +22 -22
  471. package/data/links/crontab.json +22 -22
  472. package/data/links/csharp.json +22 -22
  473. package/data/links/cypher.json +18 -18
  474. package/data/links/dart.json +2 -2
  475. package/data/links/docker-compose.json +8 -8
  476. package/data/links/dockerfile.json +22 -22
  477. package/data/links/doctest.json +20 -20
  478. package/data/links/dotenv.json +20 -20
  479. package/data/links/ecl.json +18 -18
  480. package/data/links/elixir.json +12 -12
  481. package/data/links/flow9.json +22 -22
  482. package/data/links/freemarker2.json +10 -10
  483. package/data/links/go.json +23 -23
  484. package/data/links/graphql.json +18 -18
  485. package/data/links/hcl.json +22 -22
  486. package/data/links/html.json +19 -19
  487. package/data/links/ini.json +20 -20
  488. package/data/links/java.json +22 -22
  489. package/data/links/javascript.json +20 -20
  490. package/data/links/json.json +16 -16
  491. package/data/links/julia.json +16 -16
  492. package/data/links/kotlin.json +14 -14
  493. package/data/links/less.json +10 -10
  494. package/data/links/lexon.json +24 -24
  495. package/data/links/liquid.json +8 -8
  496. package/data/links/lua.json +22 -22
  497. package/data/links/m3.json +20 -20
  498. package/data/links/makefile.json +22 -22
  499. package/data/links/markdown.json +25 -25
  500. package/data/links/mdx.json +12 -12
  501. package/data/links/mips.json +22 -22
  502. package/data/links/msdax.json +22 -22
  503. package/data/links/mysql.json +17 -17
  504. package/data/links/nginx.json +22 -22
  505. package/data/links/objective-c.json +14 -14
  506. package/data/links/pascal.json +16 -16
  507. package/data/links/pascaligo.json +20 -20
  508. package/data/links/perl.json +22 -22
  509. package/data/links/pgsql.json +14 -14
  510. package/data/links/php.json +22 -22
  511. package/data/links/pla.json +24 -24
  512. package/data/links/postiats.json +18 -18
  513. package/data/links/powerquery.json +20 -20
  514. package/data/links/powershell.json +24 -24
  515. package/data/links/protobuf.json +22 -22
  516. package/data/links/python.json +27 -22
  517. package/data/links/qsharp.json +20 -20
  518. package/data/links/r.json +21 -21
  519. package/data/links/razor.json +8 -8
  520. package/data/links/redis-cli.json +22 -22
  521. package/data/links/redis.json +22 -22
  522. package/data/links/redshift.json +16 -16
  523. package/data/links/restructuredtext.json +10 -10
  524. package/data/links/ruby.json +22 -22
  525. package/data/links/rust.json +22 -22
  526. package/data/links/sb.json +24 -24
  527. package/data/links/scheme.json +12 -12
  528. package/data/links/scss.json +2 -2
  529. package/data/links/shell.json +1 -6
  530. package/data/links/sol.json +16 -16
  531. package/data/links/sparql.json +18 -18
  532. package/data/links/sql.json +18 -18
  533. package/data/links/ssh_config.json +22 -22
  534. package/data/links/st.json +20 -20
  535. package/data/links/swift.json +8 -8
  536. package/data/links/systemd.json +18 -18
  537. package/data/links/systemverilog.json +20 -20
  538. package/data/links/tcl.json +16 -16
  539. package/data/links/toml.json +16 -16
  540. package/data/links/typescript.json +20 -20
  541. package/data/links/vb.json +16 -16
  542. package/data/links/wgsl.json +24 -24
  543. package/data/links/xml.json +22 -22
  544. package/data/links/yaml.json +12 -12
  545. package/data/manifest.json +2 -2
  546. package/package.json +2 -2
@@ -1,301 +1,487 @@
1
- {
2
- "name": "alembic",
3
- "description": "Alembic is a lightweight database migration tool for SQLAlchemy, providing schema versioning, autogeneration of migrations, and branching support",
4
- "category": "database-orm",
5
- "platforms": ["linux", "macos", "windows"],
6
- "shells": ["bash", "zsh", "fish", "powershell"],
7
- "subcommands": [
8
- {
9
- "name": "init",
10
- "description": "Initialize a new Alembic environment, creating the migrations directory structure, alembic.ini configuration, and env.py script.",
11
- "args": [
12
- {"name": "directory", "type": "string", "required": true, "description": "Name of the migration directory to create (e.g., alembic, migrations)"}
13
- ],
14
- "options": [
15
- {"name": "--template", "short": "-t", "description": "Template to use for the environment (generic, multidb, async, pylons)", "type": "string"},
16
- {"name": "--package", "description": "Create __init__.py in the migration directory to make it a Python package"}
17
- ],
18
- "examples": [
19
- "alembic init alembic",
20
- "alembic init migrations",
21
- "alembic init --template=async alembic",
22
- "alembic init --template=multidb migrations",
23
- "alembic init --package alembic"
24
- ]
25
- },
26
- {
27
- "name": "revision",
28
- "description": "Create a new revision (migration) file. Supports both empty revisions and autogenerated ones based on model comparison.",
29
- "args": [],
30
- "options": [
31
- {"name": "--message", "short": "-m", "description": "Message string for the revision", "type": "string"},
32
- {"name": "--autogenerate", "description": "Auto-detect schema changes by comparing models with the database"},
33
- {"name": "--head", "description": "Head revision to use as the parent (default: head)", "type": "string"},
34
- {"name": "--splice", "description": "Allow a non-head revision as the parent, creating a branch"},
35
- {"name": "--branch-label", "description": "Label for a new branch from this revision", "type": "string"},
36
- {"name": "--version-path", "description": "Directory to store the revision file", "type": "string"},
37
- {"name": "--rev-id", "description": "Custom revision identifier", "type": "string"},
38
- {"name": "--depends-on", "description": "Revision(s) this depends on", "type": "string"},
39
- {"name": "--sql", "description": "Produce SQL script instead of running the migration"}
40
- ],
41
- "examples": [
42
- "alembic revision -m 'create users table'",
43
- "alembic revision --autogenerate -m 'add email column'",
44
- "alembic revision -m 'add orders' --head=branch1@head",
45
- "alembic revision -m 'merge branches' --depends-on=abc123",
46
- "alembic revision --autogenerate -m 'initial schema' --rev-id=001",
47
- "alembic revision -m 'add index' --branch-label=feature"
48
- ]
49
- },
50
- {
51
- "name": "upgrade",
52
- "description": "Apply migration(s) to upgrade the database schema to a target revision. Can upgrade to the latest, a specific revision, or a relative number.",
53
- "args": [
54
- {"name": "revision", "type": "string", "required": true, "description": "Target revision (head, revision ID, or relative like +2)"}
55
- ],
56
- "options": [
57
- {"name": "--sql", "description": "Output SQL statements instead of executing them"},
58
- {"name": "--tag", "description": "Tag to pass to the migration environment", "type": "string"}
59
- ],
60
- "examples": [
61
- "alembic upgrade head",
62
- "alembic upgrade +1",
63
- "alembic upgrade +2",
64
- "alembic upgrade abc123def",
65
- "alembic upgrade branch1@head",
66
- "alembic upgrade head --sql",
67
- "alembic upgrade head --tag=deploy_v2",
68
- "alembic upgrade abc123:head --sql > migration.sql"
69
- ]
70
- },
71
- {
72
- "name": "downgrade",
73
- "description": "Revert migration(s) to downgrade the database schema to a previous revision or by a relative number of steps.",
74
- "args": [
75
- {"name": "revision", "type": "string", "required": true, "description": "Target revision (base, revision ID, or relative like -1)"}
76
- ],
77
- "options": [
78
- {"name": "--sql", "description": "Output SQL statements instead of executing them"},
79
- {"name": "--tag", "description": "Tag to pass to the migration environment", "type": "string"}
80
- ],
81
- "examples": [
82
- "alembic downgrade -1",
83
- "alembic downgrade -2",
84
- "alembic downgrade base",
85
- "alembic downgrade abc123def",
86
- "alembic downgrade head:-1 --sql",
87
- "alembic downgrade base --sql > rollback.sql"
88
- ]
89
- },
90
- {
91
- "name": "current",
92
- "description": "Display the current revision(s) active in the database. Shows which migration the database is currently at.",
93
- "args": [],
94
- "options": [
95
- {"name": "--verbose", "short": "-v", "description": "Show detailed revision info including path and docstring"}
96
- ],
97
- "examples": [
98
- "alembic current",
99
- "alembic current --verbose"
100
- ]
101
- },
102
- {
103
- "name": "heads",
104
- "description": "Show the head revision(s) of the migration tree. Multiple heads indicate unmerged branches.",
105
- "args": [],
106
- "options": [
107
- {"name": "--verbose", "short": "-v", "description": "Show detailed revision info"},
108
- {"name": "--resolve-dependencies", "description": "Include dependency information in output"}
109
- ],
110
- "examples": [
111
- "alembic heads",
112
- "alembic heads --verbose",
113
- "alembic heads --resolve-dependencies"
114
- ]
115
- },
116
- {
117
- "name": "history",
118
- "description": "Show the full history of revisions from oldest to newest. Useful for understanding the migration chain and branches.",
119
- "args": [],
120
- "options": [
121
- {"name": "--verbose", "short": "-v", "description": "Show detailed revision info for each entry"},
122
- {"name": "--rev-range", "short": "-r", "description": "Limit history to a specific range (e.g., base:head, abc123:def456)", "type": "string"},
123
- {"name": "--indicate-current", "short": "-i", "description": "Mark the current database revision in the output"}
124
- ],
125
- "examples": [
126
- "alembic history",
127
- "alembic history --verbose",
128
- "alembic history -r base:head",
129
- "alembic history -r abc123:def456",
130
- "alembic history --indicate-current",
131
- "alembic history -r -3:current --verbose"
132
- ]
133
- },
134
- {
135
- "name": "branches",
136
- "description": "Show all branch points in the migration graph where the revision history has diverged.",
137
- "args": [],
138
- "options": [
139
- {"name": "--verbose", "short": "-v", "description": "Show detailed revision info"}
140
- ],
141
- "examples": [
142
- "alembic branches",
143
- "alembic branches --verbose"
144
- ]
145
- },
146
- {
147
- "name": "show",
148
- "description": "Display details of a specific revision including its revision ID, parent, description, and file path.",
149
- "args": [
150
- {"name": "revision", "type": "string", "required": true, "description": "Revision identifier to show"}
151
- ],
152
- "options": [],
153
- "examples": [
154
- "alembic show head",
155
- "alembic show abc123def",
156
- "alembic show base"
157
- ]
158
- },
159
- {
160
- "name": "merge",
161
- "description": "Create a merge revision that combines two or more branch heads into a single revision, resolving branch divergence.",
162
- "args": [
163
- {"name": "revisions", "type": "string", "required": true, "description": "Two or more revision identifiers to merge (space-separated)"}
164
- ],
165
- "options": [
166
- {"name": "--message", "short": "-m", "description": "Message for the merge revision", "type": "string"},
167
- {"name": "--branch-label", "description": "Label for the merged branch", "type": "string"},
168
- {"name": "--rev-id", "description": "Custom revision identifier for the merge", "type": "string"}
169
- ],
170
- "examples": [
171
- "alembic merge heads -m 'merge branches'",
172
- "alembic merge abc123 def456 -m 'merge feature and hotfix'",
173
- "alembic merge heads --branch-label=merged"
174
- ]
175
- },
176
- {
177
- "name": "stamp",
178
- "description": "Set the alembic_version table to a specific revision without running any migration scripts. Useful for marking an already-migrated database.",
179
- "args": [
180
- {"name": "revision", "type": "string", "required": true, "description": "Revision to stamp (head, base, or specific ID)"}
181
- ],
182
- "options": [
183
- {"name": "--sql", "description": "Output SQL statements instead of executing them"},
184
- {"name": "--purge", "description": "Delete all entries from version table before stamping"},
185
- {"name": "--tag", "description": "Tag to pass to the migration environment", "type": "string"}
186
- ],
187
- "examples": [
188
- "alembic stamp head",
189
- "alembic stamp base",
190
- "alembic stamp abc123def",
191
- "alembic stamp head --purge",
192
- "alembic stamp head --sql"
193
- ]
194
- },
195
- {
196
- "name": "edit",
197
- "description": "Open a specific revision file in the system editor for manual editing.",
198
- "args": [
199
- {"name": "revision", "type": "string", "required": true, "description": "Revision identifier to edit"}
200
- ],
201
- "options": [],
202
- "examples": [
203
- "alembic edit head",
204
- "alembic edit abc123def"
205
- ]
206
- },
207
- {
208
- "name": "check",
209
- "description": "Check if there are any new schema changes that have not been versioned as migrations. Returns exit code 0 if in sync, 1 if changes detected.",
210
- "args": [],
211
- "options": [],
212
- "examples": [
213
- "alembic check"
214
- ]
215
- },
216
- {
217
- "name": "ensure_version",
218
- "description": "Ensure the alembic_version table exists in the database without applying any migrations.",
219
- "args": [],
220
- "options": [
221
- {"name": "--sql", "description": "Output SQL statements instead of executing them"}
222
- ],
223
- "examples": [
224
- "alembic ensure_version",
225
- "alembic ensure_version --sql"
226
- ]
227
- },
228
- {
229
- "name": "list_templates",
230
- "description": "List all available Alembic environment templates that can be used with the init command.",
231
- "args": [],
232
- "options": [],
233
- "examples": [
234
- "alembic list_templates"
235
- ]
236
- }
237
- ],
238
- "globalOptions": [
239
- {"name": "--help", "short": "-h", "description": "Show help information"},
240
- {"name": "--version", "description": "Show Alembic version"},
241
- {"name": "--config", "short": "-c", "description": "Path to the Alembic configuration file (default: alembic.ini)", "type": "string"},
242
- {"name": "--name", "short": "-n", "description": "Name of the section in the config file to use for Alembic config", "type": "string"},
243
- {"name": "--raiseerr", "short": "-x", "description": "Raise a full stack trace on error instead of a short message"},
244
- {"name": "-x", "description": "Additional arguments consumed by env.py (e.g., -x dbname=mydb)", "type": "string"}
245
- ],
246
- "examples": [
247
- "alembic init alembic",
248
- "alembic revision --autogenerate -m 'initial schema'",
249
- "alembic revision -m 'add users table'",
250
- "alembic upgrade head",
251
- "alembic downgrade -1",
252
- "alembic downgrade base",
253
- "alembic current",
254
- "alembic history --verbose",
255
- "alembic heads",
256
- "alembic merge heads -m 'merge branches'",
257
- "alembic stamp head",
258
- "alembic check",
259
- "alembic upgrade head --sql > migration.sql"
260
- ],
261
- "relatedCommands": ["python", "pip", "flask", "django-admin", "poetry", "pipenv"],
262
- "contextEngine": {
263
- "detectors": [
264
- {
265
- "name": "alembic_ini_detect",
266
- "description": "Detect alembic.ini configuration file",
267
- "command": "find . -maxdepth 2 -name 'alembic.ini' -type f 2>/dev/null | head -3",
268
- "parser": "lines",
269
- "cacheFor": 60
270
- },
271
- {
272
- "name": "alembic_env_detect",
273
- "description": "Detect Alembic env.py and migration directory",
274
- "command": "find . -path '*/alembic/env.py' -o -path '*/migrations/env.py' 2>/dev/null | head -5",
275
- "parser": "lines",
276
- "cacheFor": 60
277
- },
278
- {
279
- "name": "alembic_versions_detect",
280
- "description": "Detect Alembic revision files",
281
- "command": "find . -path '*/versions/*.py' -type f 2>/dev/null | head -10",
282
- "parser": "lines",
283
- "cacheFor": 30
284
- },
285
- {
286
- "name": "alembic_current_revision",
287
- "description": "Get the current Alembic revision in the database",
288
- "command": "alembic current 2>/dev/null || echo 'not available'",
289
- "parser": "lines",
290
- "cacheFor": 30
291
- },
292
- {
293
- "name": "alembic_package_detect",
294
- "description": "Detect alembic in Python requirements or setup files",
295
- "command": "grep -r 'alembic' requirements*.txt setup.py pyproject.toml 2>/dev/null | head -5",
296
- "parser": "lines",
297
- "cacheFor": 60
298
- }
299
- ]
300
- }
301
- }
1
+ {
2
+ "name": "alembic",
3
+ "description": "Alembic is a lightweight database migration tool for SQLAlchemy, providing schema versioning, autogeneration of migrations, and branching support",
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": "init",
19
+ "description": "Initialize a new Alembic environment, creating the migrations directory structure, alembic.ini configuration, and env.py script.",
20
+ "args": [
21
+ {
22
+ "name": "directory",
23
+ "type": "string",
24
+ "required": true,
25
+ "description": "Name of the migration directory to create (e.g., alembic, migrations)"
26
+ }
27
+ ],
28
+ "options": [
29
+ {
30
+ "name": "--template",
31
+ "short": "-t",
32
+ "description": "Template to use for the environment (generic, multidb, async, pylons)",
33
+ "type": "string"
34
+ },
35
+ {
36
+ "name": "--package",
37
+ "description": "Create __init__.py in the migration directory to make it a Python package"
38
+ }
39
+ ],
40
+ "examples": [
41
+ "alembic init alembic",
42
+ "alembic init migrations",
43
+ "alembic init --template=async alembic",
44
+ "alembic init --template=multidb migrations",
45
+ "alembic init --package alembic"
46
+ ]
47
+ },
48
+ {
49
+ "name": "revision",
50
+ "description": "Create a new revision (migration) file. Supports both empty revisions and autogenerated ones based on model comparison.",
51
+ "args": [],
52
+ "options": [
53
+ {
54
+ "name": "--message",
55
+ "short": "-m",
56
+ "description": "Message string for the revision",
57
+ "type": "string"
58
+ },
59
+ {
60
+ "name": "--autogenerate",
61
+ "description": "Auto-detect schema changes by comparing models with the database"
62
+ },
63
+ {
64
+ "name": "--head",
65
+ "description": "Head revision to use as the parent (default: head)",
66
+ "type": "string"
67
+ },
68
+ {
69
+ "name": "--splice",
70
+ "description": "Allow a non-head revision as the parent, creating a branch"
71
+ },
72
+ {
73
+ "name": "--branch-label",
74
+ "description": "Label for a new branch from this revision",
75
+ "type": "string"
76
+ },
77
+ {
78
+ "name": "--version-path",
79
+ "description": "Directory to store the revision file",
80
+ "type": "string"
81
+ },
82
+ {
83
+ "name": "--rev-id",
84
+ "description": "Custom revision identifier",
85
+ "type": "string"
86
+ },
87
+ {
88
+ "name": "--depends-on",
89
+ "description": "Revision(s) this depends on",
90
+ "type": "string"
91
+ },
92
+ {
93
+ "name": "--sql",
94
+ "description": "Produce SQL script instead of running the migration"
95
+ }
96
+ ],
97
+ "examples": [
98
+ "alembic revision -m 'create users table'",
99
+ "alembic revision --autogenerate -m 'add email column'",
100
+ "alembic revision -m 'add orders' --head=branch1@head",
101
+ "alembic revision -m 'merge branches' --depends-on=abc123",
102
+ "alembic revision --autogenerate -m 'initial schema' --rev-id=001",
103
+ "alembic revision -m 'add index' --branch-label=feature"
104
+ ]
105
+ },
106
+ {
107
+ "name": "upgrade",
108
+ "description": "Apply migration(s) to upgrade the database schema to a target revision. Can upgrade to the latest, a specific revision, or a relative number.",
109
+ "args": [
110
+ {
111
+ "name": "revision",
112
+ "type": "string",
113
+ "required": true,
114
+ "description": "Target revision (head, revision ID, or relative like +2)"
115
+ }
116
+ ],
117
+ "options": [
118
+ {
119
+ "name": "--sql",
120
+ "description": "Output SQL statements instead of executing them"
121
+ },
122
+ {
123
+ "name": "--tag",
124
+ "description": "Tag to pass to the migration environment",
125
+ "type": "string"
126
+ }
127
+ ],
128
+ "examples": [
129
+ "alembic upgrade head",
130
+ "alembic upgrade +1",
131
+ "alembic upgrade +2",
132
+ "alembic upgrade abc123def",
133
+ "alembic upgrade branch1@head",
134
+ "alembic upgrade head --sql",
135
+ "alembic upgrade head --tag=deploy_v2",
136
+ "alembic upgrade abc123:head --sql > migration.sql"
137
+ ]
138
+ },
139
+ {
140
+ "name": "downgrade",
141
+ "description": "Revert migration(s) to downgrade the database schema to a previous revision or by a relative number of steps.",
142
+ "args": [
143
+ {
144
+ "name": "revision",
145
+ "type": "string",
146
+ "required": true,
147
+ "description": "Target revision (base, revision ID, or relative like -1)"
148
+ }
149
+ ],
150
+ "options": [
151
+ {
152
+ "name": "--sql",
153
+ "description": "Output SQL statements instead of executing them"
154
+ },
155
+ {
156
+ "name": "--tag",
157
+ "description": "Tag to pass to the migration environment",
158
+ "type": "string"
159
+ }
160
+ ],
161
+ "examples": [
162
+ "alembic downgrade -1",
163
+ "alembic downgrade -2",
164
+ "alembic downgrade base",
165
+ "alembic downgrade abc123def",
166
+ "alembic downgrade head:-1 --sql",
167
+ "alembic downgrade base --sql > rollback.sql"
168
+ ]
169
+ },
170
+ {
171
+ "name": "current",
172
+ "description": "Display the current revision(s) active in the database. Shows which migration the database is currently at.",
173
+ "args": [],
174
+ "options": [
175
+ {
176
+ "name": "--verbose",
177
+ "short": "-v",
178
+ "description": "Show detailed revision info including path and docstring"
179
+ }
180
+ ],
181
+ "examples": [
182
+ "alembic current",
183
+ "alembic current --verbose"
184
+ ]
185
+ },
186
+ {
187
+ "name": "heads",
188
+ "description": "Show the head revision(s) of the migration tree. Multiple heads indicate unmerged branches.",
189
+ "args": [],
190
+ "options": [
191
+ {
192
+ "name": "--verbose",
193
+ "short": "-v",
194
+ "description": "Show detailed revision info"
195
+ },
196
+ {
197
+ "name": "--resolve-dependencies",
198
+ "description": "Include dependency information in output"
199
+ }
200
+ ],
201
+ "examples": [
202
+ "alembic heads",
203
+ "alembic heads --verbose",
204
+ "alembic heads --resolve-dependencies"
205
+ ]
206
+ },
207
+ {
208
+ "name": "history",
209
+ "description": "Show the full history of revisions from oldest to newest. Useful for understanding the migration chain and branches.",
210
+ "args": [],
211
+ "options": [
212
+ {
213
+ "name": "--verbose",
214
+ "short": "-v",
215
+ "description": "Show detailed revision info for each entry"
216
+ },
217
+ {
218
+ "name": "--rev-range",
219
+ "short": "-r",
220
+ "description": "Limit history to a specific range (e.g., base:head, abc123:def456)",
221
+ "type": "string"
222
+ },
223
+ {
224
+ "name": "--indicate-current",
225
+ "short": "-i",
226
+ "description": "Mark the current database revision in the output"
227
+ }
228
+ ],
229
+ "examples": [
230
+ "alembic history",
231
+ "alembic history --verbose",
232
+ "alembic history -r base:head",
233
+ "alembic history -r abc123:def456",
234
+ "alembic history --indicate-current",
235
+ "alembic history -r -3:current --verbose"
236
+ ]
237
+ },
238
+ {
239
+ "name": "branches",
240
+ "description": "Show all branch points in the migration graph where the revision history has diverged.",
241
+ "args": [],
242
+ "options": [
243
+ {
244
+ "name": "--verbose",
245
+ "short": "-v",
246
+ "description": "Show detailed revision info"
247
+ }
248
+ ],
249
+ "examples": [
250
+ "alembic branches",
251
+ "alembic branches --verbose"
252
+ ]
253
+ },
254
+ {
255
+ "name": "show",
256
+ "description": "Display details of a specific revision including its revision ID, parent, description, and file path.",
257
+ "args": [
258
+ {
259
+ "name": "revision",
260
+ "type": "string",
261
+ "required": true,
262
+ "description": "Revision identifier to show"
263
+ }
264
+ ],
265
+ "options": [],
266
+ "examples": [
267
+ "alembic show head",
268
+ "alembic show abc123def",
269
+ "alembic show base"
270
+ ]
271
+ },
272
+ {
273
+ "name": "merge",
274
+ "description": "Create a merge revision that combines two or more branch heads into a single revision, resolving branch divergence.",
275
+ "args": [
276
+ {
277
+ "name": "revisions",
278
+ "type": "string",
279
+ "required": true,
280
+ "description": "Two or more revision identifiers to merge (space-separated)"
281
+ }
282
+ ],
283
+ "options": [
284
+ {
285
+ "name": "--message",
286
+ "short": "-m",
287
+ "description": "Message for the merge revision",
288
+ "type": "string"
289
+ },
290
+ {
291
+ "name": "--branch-label",
292
+ "description": "Label for the merged branch",
293
+ "type": "string"
294
+ },
295
+ {
296
+ "name": "--rev-id",
297
+ "description": "Custom revision identifier for the merge",
298
+ "type": "string"
299
+ }
300
+ ],
301
+ "examples": [
302
+ "alembic merge heads -m 'merge branches'",
303
+ "alembic merge abc123 def456 -m 'merge feature and hotfix'",
304
+ "alembic merge heads --branch-label=merged"
305
+ ]
306
+ },
307
+ {
308
+ "name": "stamp",
309
+ "description": "Set the alembic_version table to a specific revision without running any migration scripts. Useful for marking an already-migrated database.",
310
+ "args": [
311
+ {
312
+ "name": "revision",
313
+ "type": "string",
314
+ "required": true,
315
+ "description": "Revision to stamp (head, base, or specific ID)"
316
+ }
317
+ ],
318
+ "options": [
319
+ {
320
+ "name": "--sql",
321
+ "description": "Output SQL statements instead of executing them"
322
+ },
323
+ {
324
+ "name": "--purge",
325
+ "description": "Delete all entries from version table before stamping"
326
+ },
327
+ {
328
+ "name": "--tag",
329
+ "description": "Tag to pass to the migration environment",
330
+ "type": "string"
331
+ }
332
+ ],
333
+ "examples": [
334
+ "alembic stamp head",
335
+ "alembic stamp base",
336
+ "alembic stamp abc123def",
337
+ "alembic stamp head --purge",
338
+ "alembic stamp head --sql"
339
+ ]
340
+ },
341
+ {
342
+ "name": "edit",
343
+ "description": "Open a specific revision file in the system editor for manual editing.",
344
+ "args": [
345
+ {
346
+ "name": "revision",
347
+ "type": "string",
348
+ "required": true,
349
+ "description": "Revision identifier to edit"
350
+ }
351
+ ],
352
+ "options": [],
353
+ "examples": [
354
+ "alembic edit head",
355
+ "alembic edit abc123def"
356
+ ]
357
+ },
358
+ {
359
+ "name": "check",
360
+ "description": "Check if there are any new schema changes that have not been versioned as migrations. Returns exit code 0 if in sync, 1 if changes detected.",
361
+ "args": [],
362
+ "options": [],
363
+ "examples": [
364
+ "alembic check"
365
+ ]
366
+ },
367
+ {
368
+ "name": "ensure_version",
369
+ "description": "Ensure the alembic_version table exists in the database without applying any migrations.",
370
+ "args": [],
371
+ "options": [
372
+ {
373
+ "name": "--sql",
374
+ "description": "Output SQL statements instead of executing them"
375
+ }
376
+ ],
377
+ "examples": [
378
+ "alembic ensure_version",
379
+ "alembic ensure_version --sql"
380
+ ]
381
+ },
382
+ {
383
+ "name": "list_templates",
384
+ "description": "List all available Alembic environment templates that can be used with the init command.",
385
+ "args": [],
386
+ "options": [],
387
+ "examples": [
388
+ "alembic list_templates"
389
+ ]
390
+ }
391
+ ],
392
+ "globalOptions": [
393
+ {
394
+ "name": "--help",
395
+ "short": "-h",
396
+ "description": "Show help information"
397
+ },
398
+ {
399
+ "name": "--version",
400
+ "description": "Show Alembic version"
401
+ },
402
+ {
403
+ "name": "--config",
404
+ "short": "-c",
405
+ "description": "Path to the Alembic configuration file (default: alembic.ini)",
406
+ "type": "string"
407
+ },
408
+ {
409
+ "name": "--name",
410
+ "short": "-n",
411
+ "description": "Name of the section in the config file to use for Alembic config",
412
+ "type": "string"
413
+ },
414
+ {
415
+ "name": "--raiseerr",
416
+ "short": "-x",
417
+ "description": "Raise a full stack trace on error instead of a short message"
418
+ },
419
+ {
420
+ "name": "-x",
421
+ "description": "Additional arguments consumed by env.py (e.g., -x dbname=mydb)",
422
+ "type": "string"
423
+ }
424
+ ],
425
+ "examples": [
426
+ "alembic init alembic",
427
+ "alembic revision --autogenerate -m 'initial schema'",
428
+ "alembic revision -m 'add users table'",
429
+ "alembic upgrade head",
430
+ "alembic downgrade -1",
431
+ "alembic downgrade base",
432
+ "alembic current",
433
+ "alembic history --verbose",
434
+ "alembic heads",
435
+ "alembic merge heads -m 'merge branches'",
436
+ "alembic stamp head",
437
+ "alembic check",
438
+ "alembic upgrade head --sql > migration.sql"
439
+ ],
440
+ "relatedCommands": [
441
+ "python",
442
+ "pip",
443
+ "flask",
444
+ "django-admin",
445
+ "poetry",
446
+ "pipenv"
447
+ ],
448
+ "contextEngine": {
449
+ "detectors": [
450
+ {
451
+ "name": "alembic_ini_detect",
452
+ "description": "Detect alembic.ini configuration file",
453
+ "command": "find . -maxdepth 2 -name 'alembic.ini' -type f 2>/dev/null | head -3",
454
+ "parser": "lines",
455
+ "cacheFor": 60
456
+ },
457
+ {
458
+ "name": "alembic_env_detect",
459
+ "description": "Detect Alembic env.py and migration directory",
460
+ "command": "find . -path '*/alembic/env.py' -o -path '*/migrations/env.py' 2>/dev/null | head -5",
461
+ "parser": "lines",
462
+ "cacheFor": 60
463
+ },
464
+ {
465
+ "name": "alembic_versions_detect",
466
+ "description": "Detect Alembic revision files",
467
+ "command": "find . -path '*/versions/*.py' -type f 2>/dev/null | head -10",
468
+ "parser": "lines",
469
+ "cacheFor": 30
470
+ },
471
+ {
472
+ "name": "alembic_current_revision",
473
+ "description": "Get the current Alembic revision in the database",
474
+ "command": "alembic current 2>/dev/null || echo 'not available'",
475
+ "parser": "lines",
476
+ "cacheFor": 30
477
+ },
478
+ {
479
+ "name": "alembic_package_detect",
480
+ "description": "Detect alembic in Python requirements or setup files",
481
+ "command": "grep -r 'alembic' requirements*.txt setup.py pyproject.toml 2>/dev/null | head -5",
482
+ "parser": "lines",
483
+ "cacheFor": 60
484
+ }
485
+ ]
486
+ }
487
+ }