@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,342 +1,629 @@
1
- {
2
- "name": "sequelize",
3
- "description": "Sequelize CLI for managing database migrations, models, seeders, and initialization of Sequelize-based Node.js projects",
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 Sequelize project creating config/config.json, models/, migrations/, and seeders/ directories with boilerplate files.",
11
- "args": [],
12
- "options": [
13
- {"name": "--force", "description": "Force overwriting existing files and directories"}
14
- ],
15
- "examples": [
16
- "npx sequelize-cli init",
17
- "npx sequelize-cli init --force"
18
- ]
19
- },
20
- {
21
- "name": "init:config",
22
- "description": "Create the config/config.json file with database connection settings for development, test, and production environments.",
23
- "args": [],
24
- "options": [
25
- {"name": "--config", "description": "Path to config file to create", "type": "string"}
26
- ],
27
- "examples": [
28
- "npx sequelize-cli init:config",
29
- "npx sequelize-cli init:config --config=src/config/database.json"
30
- ]
31
- },
32
- {
33
- "name": "init:migrations",
34
- "description": "Create the migrations directory for storing migration files.",
35
- "args": [],
36
- "options": [
37
- {"name": "--migrations-path", "description": "Custom path for the migrations directory", "type": "string"}
38
- ],
39
- "examples": [
40
- "npx sequelize-cli init:migrations",
41
- "npx sequelize-cli init:migrations --migrations-path=src/db/migrations"
42
- ]
43
- },
44
- {
45
- "name": "init:models",
46
- "description": "Create the models directory with an index.js file that auto-loads all model definitions.",
47
- "args": [],
48
- "options": [
49
- {"name": "--models-path", "description": "Custom path for the models directory", "type": "string"}
50
- ],
51
- "examples": [
52
- "npx sequelize-cli init:models",
53
- "npx sequelize-cli init:models --models-path=src/db/models"
54
- ]
55
- },
56
- {
57
- "name": "init:seeders",
58
- "description": "Create the seeders directory for storing seed data files.",
59
- "args": [],
60
- "options": [
61
- {"name": "--seeders-path", "description": "Custom path for the seeders directory", "type": "string"}
62
- ],
63
- "examples": [
64
- "npx sequelize-cli init:seeders",
65
- "npx sequelize-cli init:seeders --seeders-path=src/db/seeders"
66
- ]
67
- },
68
- {
69
- "name": "db:create",
70
- "description": "Create the database specified in the config file for the current environment.",
71
- "args": [],
72
- "options": [
73
- {"name": "--env", "description": "Environment to use (development, test, production)", "type": "string"},
74
- {"name": "--config", "description": "Path to config file", "type": "string"},
75
- {"name": "--charset", "description": "Character set for the database", "type": "string"},
76
- {"name": "--collate", "description": "Collation for the database", "type": "string"},
77
- {"name": "--encoding", "description": "Encoding for PostgreSQL databases", "type": "string"},
78
- {"name": "--url", "description": "Database connection URL (overrides config)", "type": "string"}
79
- ],
80
- "examples": [
81
- "npx sequelize-cli db:create",
82
- "npx sequelize-cli db:create --env=test",
83
- "npx sequelize-cli db:create --charset=utf8mb4 --collate=utf8mb4_unicode_ci",
84
- "npx sequelize-cli db:create --url=postgres://user:pass@localhost:5432/mydb"
85
- ]
86
- },
87
- {
88
- "name": "db:drop",
89
- "description": "Drop the database specified in the config file for the current environment. WARNING: This destroys all data.",
90
- "args": [],
91
- "options": [
92
- {"name": "--env", "description": "Environment to use", "type": "string"},
93
- {"name": "--config", "description": "Path to config file", "type": "string"},
94
- {"name": "--url", "description": "Database connection URL", "type": "string"}
95
- ],
96
- "examples": [
97
- "npx sequelize-cli db:drop",
98
- "npx sequelize-cli db:drop --env=test"
99
- ]
100
- },
101
- {
102
- "name": "db:migrate",
103
- "description": "Run all pending migrations to update the database schema. Migrations are executed in chronological order.",
104
- "args": [],
105
- "options": [
106
- {"name": "--env", "description": "Environment to use", "type": "string"},
107
- {"name": "--config", "description": "Path to config file", "type": "string"},
108
- {"name": "--migrations-path", "description": "Path to migrations directory", "type": "string"},
109
- {"name": "--url", "description": "Database connection URL", "type": "string"},
110
- {"name": "--to", "description": "Migrate up to a specific migration file name", "type": "string"},
111
- {"name": "--from", "description": "Migrate starting from a specific migration", "type": "string"},
112
- {"name": "--debug", "description": "Show debug information and SQL queries"}
113
- ],
114
- "examples": [
115
- "npx sequelize-cli db:migrate",
116
- "npx sequelize-cli db:migrate --env=production",
117
- "npx sequelize-cli db:migrate --to=20240101000000-create-users.js",
118
- "npx sequelize-cli db:migrate --debug"
119
- ]
120
- },
121
- {
122
- "name": "db:migrate:undo",
123
- "description": "Revert the most recently applied migration. Executes the down() method of the last migration.",
124
- "args": [],
125
- "options": [
126
- {"name": "--env", "description": "Environment to use", "type": "string"},
127
- {"name": "--config", "description": "Path to config file", "type": "string"},
128
- {"name": "--migrations-path", "description": "Path to migrations directory", "type": "string"},
129
- {"name": "--url", "description": "Database connection URL", "type": "string"},
130
- {"name": "--name", "description": "Name of the specific migration to revert", "type": "string"},
131
- {"name": "--debug", "description": "Show debug information"}
132
- ],
133
- "examples": [
134
- "npx sequelize-cli db:migrate:undo",
135
- "npx sequelize-cli db:migrate:undo --name=20240101000000-create-users.js",
136
- "npx sequelize-cli db:migrate:undo --env=test"
137
- ]
138
- },
139
- {
140
- "name": "db:migrate:undo:all",
141
- "description": "Revert all applied migrations, effectively resetting the database schema to its initial state.",
142
- "args": [],
143
- "options": [
144
- {"name": "--env", "description": "Environment to use", "type": "string"},
145
- {"name": "--config", "description": "Path to config file", "type": "string"},
146
- {"name": "--to", "description": "Revert down to a specific migration (keeps that migration applied)", "type": "string"},
147
- {"name": "--debug", "description": "Show debug information"}
148
- ],
149
- "examples": [
150
- "npx sequelize-cli db:migrate:undo:all",
151
- "npx sequelize-cli db:migrate:undo:all --to=20240101000000-create-users.js",
152
- "npx sequelize-cli db:migrate:undo:all --env=test"
153
- ]
154
- },
155
- {
156
- "name": "db:migrate:status",
157
- "description": "Show the status of all migrations, indicating which have been applied (up) and which are pending (down).",
158
- "args": [],
159
- "options": [
160
- {"name": "--env", "description": "Environment to use", "type": "string"},
161
- {"name": "--config", "description": "Path to config file", "type": "string"},
162
- {"name": "--migrations-path", "description": "Path to migrations directory", "type": "string"},
163
- {"name": "--url", "description": "Database connection URL", "type": "string"}
164
- ],
165
- "examples": [
166
- "npx sequelize-cli db:migrate:status",
167
- "npx sequelize-cli db:migrate:status --env=production"
168
- ]
169
- },
170
- {
171
- "name": "db:seed",
172
- "description": "Run a specific seeder file to populate the database with initial or test data.",
173
- "args": [],
174
- "options": [
175
- {"name": "--seed", "description": "Name of the specific seeder file to run", "type": "string"},
176
- {"name": "--env", "description": "Environment to use", "type": "string"},
177
- {"name": "--config", "description": "Path to config file", "type": "string"},
178
- {"name": "--seeders-path", "description": "Path to seeders directory", "type": "string"},
179
- {"name": "--url", "description": "Database connection URL", "type": "string"},
180
- {"name": "--debug", "description": "Show debug information"}
181
- ],
182
- "examples": [
183
- "npx sequelize-cli db:seed --seed=20240101000000-demo-users.js",
184
- "npx sequelize-cli db:seed --seed=20240101000000-demo-users.js --env=test"
185
- ]
186
- },
187
- {
188
- "name": "db:seed:all",
189
- "description": "Run all seed files to populate the database with data. Seeders are executed in alphabetical order.",
190
- "args": [],
191
- "options": [
192
- {"name": "--env", "description": "Environment to use", "type": "string"},
193
- {"name": "--config", "description": "Path to config file", "type": "string"},
194
- {"name": "--seeders-path", "description": "Path to seeders directory", "type": "string"},
195
- {"name": "--url", "description": "Database connection URL", "type": "string"},
196
- {"name": "--debug", "description": "Show debug information"}
197
- ],
198
- "examples": [
199
- "npx sequelize-cli db:seed:all",
200
- "npx sequelize-cli db:seed:all --env=test",
201
- "npx sequelize-cli db:seed:all --debug"
202
- ]
203
- },
204
- {
205
- "name": "db:seed:undo",
206
- "description": "Revert the most recently executed seeder file.",
207
- "args": [],
208
- "options": [
209
- {"name": "--seed", "description": "Name of the specific seeder to revert", "type": "string"},
210
- {"name": "--env", "description": "Environment to use", "type": "string"},
211
- {"name": "--config", "description": "Path to config file", "type": "string"},
212
- {"name": "--debug", "description": "Show debug information"}
213
- ],
214
- "examples": [
215
- "npx sequelize-cli db:seed:undo",
216
- "npx sequelize-cli db:seed:undo --seed=20240101000000-demo-users.js"
217
- ]
218
- },
219
- {
220
- "name": "db:seed:undo:all",
221
- "description": "Revert all seed files, removing all seeded data from the database.",
222
- "args": [],
223
- "options": [
224
- {"name": "--env", "description": "Environment to use", "type": "string"},
225
- {"name": "--config", "description": "Path to config file", "type": "string"},
226
- {"name": "--debug", "description": "Show debug information"}
227
- ],
228
- "examples": [
229
- "npx sequelize-cli db:seed:undo:all",
230
- "npx sequelize-cli db:seed:undo:all --env=test"
231
- ]
232
- },
233
- {
234
- "name": "migration:generate",
235
- "description": "Generate a new migration file with a timestamp prefix and the specified name.",
236
- "args": [],
237
- "options": [
238
- {"name": "--name", "description": "Name for the migration file", "type": "string"},
239
- {"name": "--underscored", "description": "Use snake_case for the migration file name"}
240
- ],
241
- "examples": [
242
- "npx sequelize-cli migration:generate --name=create-users-table",
243
- "npx sequelize-cli migration:generate --name=add-email-to-users --underscored"
244
- ]
245
- },
246
- {
247
- "name": "model:generate",
248
- "description": "Generate a new model file and its associated migration file. Creates both the model definition and the initial migration to create the table.",
249
- "args": [],
250
- "options": [
251
- {"name": "--name", "description": "Name of the model", "type": "string"},
252
- {"name": "--attributes", "description": "Comma-separated list of attribute:type pairs", "type": "string"},
253
- {"name": "--force", "description": "Force overwriting existing model file"},
254
- {"name": "--underscored", "description": "Use snake_case for table and column names"}
255
- ],
256
- "examples": [
257
- "npx sequelize-cli model:generate --name=User --attributes=firstName:string,lastName:string,email:string",
258
- "npx sequelize-cli model:generate --name=Product --attributes=name:string,price:decimal,stock:integer --underscored",
259
- "npx sequelize-cli model:generate --name=Order --attributes=userId:integer,total:decimal,status:enum:'{pending,shipped,delivered}'"
260
- ]
261
- },
262
- {
263
- "name": "seed:generate",
264
- "description": "Generate a new seed file with a timestamp prefix for populating the database with test or initial data.",
265
- "args": [],
266
- "options": [
267
- {"name": "--name", "description": "Name for the seed file", "type": "string"},
268
- {"name": "--underscored", "description": "Use snake_case for the seed file name"}
269
- ],
270
- "examples": [
271
- "npx sequelize-cli seed:generate --name=demo-users",
272
- "npx sequelize-cli seed:generate --name=initial-products --underscored"
273
- ]
274
- }
275
- ],
276
- "globalOptions": [
277
- {"name": "--help", "short": "-h", "description": "Show help information"},
278
- {"name": "--version", "description": "Show sequelize-cli version"},
279
- {"name": "--env", "description": "The environment to use (default: development)", "type": "string"},
280
- {"name": "--config", "description": "Path to JSON config file (default: config/config.json)", "type": "string"},
281
- {"name": "--models-path", "description": "Path to models directory (default: models/)", "type": "string"},
282
- {"name": "--seeders-path", "description": "Path to seeders directory (default: seeders/)", "type": "string"},
283
- {"name": "--migrations-path", "description": "Path to migrations directory (default: migrations/)", "type": "string"},
284
- {"name": "--url", "description": "Database connection string URL (overrides config file)", "type": "string"},
285
- {"name": "--debug", "description": "Show debug output and SQL queries"},
286
- {"name": "--options-path", "description": "Path to a JSON file with additional options", "type": "string"}
287
- ],
288
- "examples": [
289
- "npx sequelize-cli init",
290
- "npx sequelize-cli db:create",
291
- "npx sequelize-cli model:generate --name=User --attributes=name:string,email:string",
292
- "npx sequelize-cli db:migrate",
293
- "npx sequelize-cli db:migrate:status",
294
- "npx sequelize-cli db:migrate:undo",
295
- "npx sequelize-cli db:migrate:undo:all",
296
- "npx sequelize-cli seed:generate --name=demo-users",
297
- "npx sequelize-cli db:seed:all",
298
- "npx sequelize-cli db:seed:undo:all",
299
- "npx sequelize-cli db:drop",
300
- "npx sequelize-cli migration:generate --name=add-index-to-users"
301
- ],
302
- "relatedCommands": ["prisma", "typeorm", "node", "mysql", "psql", "npm", "npx"],
303
- "contextEngine": {
304
- "detectors": [
305
- {
306
- "name": "sequelize_config_detect",
307
- "description": "Detect Sequelize configuration files",
308
- "command": "find . -maxdepth 3 -name '.sequelizerc' -o -name 'config.json' -path '*/config/*' 2>/dev/null | head -5",
309
- "parser": "lines",
310
- "cacheFor": 60
311
- },
312
- {
313
- "name": "sequelize_models_detect",
314
- "description": "Detect Sequelize model files",
315
- "command": "find . -path '*/models/*.js' -o -path '*/models/*.ts' 2>/dev/null | head -10",
316
- "parser": "lines",
317
- "cacheFor": 60
318
- },
319
- {
320
- "name": "sequelize_migrations_detect",
321
- "description": "Detect Sequelize migration files",
322
- "command": "find . -path '*/migrations/*.js' -type f 2>/dev/null | head -10",
323
- "parser": "lines",
324
- "cacheFor": 30
325
- },
326
- {
327
- "name": "sequelize_seeders_detect",
328
- "description": "Detect Sequelize seeder files",
329
- "command": "find . -path '*/seeders/*.js' -type f 2>/dev/null | head -10",
330
- "parser": "lines",
331
- "cacheFor": 30
332
- },
333
- {
334
- "name": "sequelize_package_detect",
335
- "description": "Detect sequelize in package.json dependencies",
336
- "command": "cat package.json 2>/dev/null | grep -E '\"sequelize(-cli)?\"' | head -3",
337
- "parser": "lines",
338
- "cacheFor": 60
339
- }
340
- ]
341
- }
342
- }
1
+ {
2
+ "name": "sequelize",
3
+ "description": "Sequelize CLI for managing database migrations, models, seeders, and initialization of Sequelize-based Node.js projects",
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 Sequelize project creating config/config.json, models/, migrations/, and seeders/ directories with boilerplate files.",
20
+ "args": [],
21
+ "options": [
22
+ {
23
+ "name": "--force",
24
+ "description": "Force overwriting existing files and directories"
25
+ }
26
+ ],
27
+ "examples": [
28
+ "npx sequelize-cli init",
29
+ "npx sequelize-cli init --force"
30
+ ]
31
+ },
32
+ {
33
+ "name": "init:config",
34
+ "description": "Create the config/config.json file with database connection settings for development, test, and production environments.",
35
+ "args": [],
36
+ "options": [
37
+ {
38
+ "name": "--config",
39
+ "description": "Path to config file to create",
40
+ "type": "string"
41
+ }
42
+ ],
43
+ "examples": [
44
+ "npx sequelize-cli init:config",
45
+ "npx sequelize-cli init:config --config=src/config/database.json"
46
+ ]
47
+ },
48
+ {
49
+ "name": "init:migrations",
50
+ "description": "Create the migrations directory for storing migration files.",
51
+ "args": [],
52
+ "options": [
53
+ {
54
+ "name": "--migrations-path",
55
+ "description": "Custom path for the migrations directory",
56
+ "type": "string"
57
+ }
58
+ ],
59
+ "examples": [
60
+ "npx sequelize-cli init:migrations",
61
+ "npx sequelize-cli init:migrations --migrations-path=src/db/migrations"
62
+ ]
63
+ },
64
+ {
65
+ "name": "init:models",
66
+ "description": "Create the models directory with an index.js file that auto-loads all model definitions.",
67
+ "args": [],
68
+ "options": [
69
+ {
70
+ "name": "--models-path",
71
+ "description": "Custom path for the models directory",
72
+ "type": "string"
73
+ }
74
+ ],
75
+ "examples": [
76
+ "npx sequelize-cli init:models",
77
+ "npx sequelize-cli init:models --models-path=src/db/models"
78
+ ]
79
+ },
80
+ {
81
+ "name": "init:seeders",
82
+ "description": "Create the seeders directory for storing seed data files.",
83
+ "args": [],
84
+ "options": [
85
+ {
86
+ "name": "--seeders-path",
87
+ "description": "Custom path for the seeders directory",
88
+ "type": "string"
89
+ }
90
+ ],
91
+ "examples": [
92
+ "npx sequelize-cli init:seeders",
93
+ "npx sequelize-cli init:seeders --seeders-path=src/db/seeders"
94
+ ]
95
+ },
96
+ {
97
+ "name": "db:create",
98
+ "description": "Create the database specified in the config file for the current environment.",
99
+ "args": [],
100
+ "options": [
101
+ {
102
+ "name": "--env",
103
+ "description": "Environment to use (development, test, production)",
104
+ "type": "string"
105
+ },
106
+ {
107
+ "name": "--config",
108
+ "description": "Path to config file",
109
+ "type": "string"
110
+ },
111
+ {
112
+ "name": "--charset",
113
+ "description": "Character set for the database",
114
+ "type": "string"
115
+ },
116
+ {
117
+ "name": "--collate",
118
+ "description": "Collation for the database",
119
+ "type": "string"
120
+ },
121
+ {
122
+ "name": "--encoding",
123
+ "description": "Encoding for PostgreSQL databases",
124
+ "type": "string"
125
+ },
126
+ {
127
+ "name": "--url",
128
+ "description": "Database connection URL (overrides config)",
129
+ "type": "string"
130
+ }
131
+ ],
132
+ "examples": [
133
+ "npx sequelize-cli db:create",
134
+ "npx sequelize-cli db:create --env=test",
135
+ "npx sequelize-cli db:create --charset=utf8mb4 --collate=utf8mb4_unicode_ci",
136
+ "npx sequelize-cli db:create --url=postgres://user:pass@localhost:5432/mydb"
137
+ ]
138
+ },
139
+ {
140
+ "name": "db:drop",
141
+ "description": "Drop the database specified in the config file for the current environment. WARNING: This destroys all data.",
142
+ "args": [],
143
+ "options": [
144
+ {
145
+ "name": "--env",
146
+ "description": "Environment to use",
147
+ "type": "string"
148
+ },
149
+ {
150
+ "name": "--config",
151
+ "description": "Path to config file",
152
+ "type": "string"
153
+ },
154
+ {
155
+ "name": "--url",
156
+ "description": "Database connection URL",
157
+ "type": "string"
158
+ }
159
+ ],
160
+ "examples": [
161
+ "npx sequelize-cli db:drop",
162
+ "npx sequelize-cli db:drop --env=test"
163
+ ]
164
+ },
165
+ {
166
+ "name": "db:migrate",
167
+ "description": "Run all pending migrations to update the database schema. Migrations are executed in chronological order.",
168
+ "args": [],
169
+ "options": [
170
+ {
171
+ "name": "--env",
172
+ "description": "Environment to use",
173
+ "type": "string"
174
+ },
175
+ {
176
+ "name": "--config",
177
+ "description": "Path to config file",
178
+ "type": "string"
179
+ },
180
+ {
181
+ "name": "--migrations-path",
182
+ "description": "Path to migrations directory",
183
+ "type": "string"
184
+ },
185
+ {
186
+ "name": "--url",
187
+ "description": "Database connection URL",
188
+ "type": "string"
189
+ },
190
+ {
191
+ "name": "--to",
192
+ "description": "Migrate up to a specific migration file name",
193
+ "type": "string"
194
+ },
195
+ {
196
+ "name": "--from",
197
+ "description": "Migrate starting from a specific migration",
198
+ "type": "string"
199
+ },
200
+ {
201
+ "name": "--debug",
202
+ "description": "Show debug information and SQL queries"
203
+ }
204
+ ],
205
+ "examples": [
206
+ "npx sequelize-cli db:migrate",
207
+ "npx sequelize-cli db:migrate --env=production",
208
+ "npx sequelize-cli db:migrate --to=20240101000000-create-users.js",
209
+ "npx sequelize-cli db:migrate --debug"
210
+ ]
211
+ },
212
+ {
213
+ "name": "db:migrate:undo",
214
+ "description": "Revert the most recently applied migration. Executes the down() method of the last migration.",
215
+ "args": [],
216
+ "options": [
217
+ {
218
+ "name": "--env",
219
+ "description": "Environment to use",
220
+ "type": "string"
221
+ },
222
+ {
223
+ "name": "--config",
224
+ "description": "Path to config file",
225
+ "type": "string"
226
+ },
227
+ {
228
+ "name": "--migrations-path",
229
+ "description": "Path to migrations directory",
230
+ "type": "string"
231
+ },
232
+ {
233
+ "name": "--url",
234
+ "description": "Database connection URL",
235
+ "type": "string"
236
+ },
237
+ {
238
+ "name": "--name",
239
+ "description": "Name of the specific migration to revert",
240
+ "type": "string"
241
+ },
242
+ {
243
+ "name": "--debug",
244
+ "description": "Show debug information"
245
+ }
246
+ ],
247
+ "examples": [
248
+ "npx sequelize-cli db:migrate:undo",
249
+ "npx sequelize-cli db:migrate:undo --name=20240101000000-create-users.js",
250
+ "npx sequelize-cli db:migrate:undo --env=test"
251
+ ]
252
+ },
253
+ {
254
+ "name": "db:migrate:undo:all",
255
+ "description": "Revert all applied migrations, effectively resetting the database schema to its initial state.",
256
+ "args": [],
257
+ "options": [
258
+ {
259
+ "name": "--env",
260
+ "description": "Environment to use",
261
+ "type": "string"
262
+ },
263
+ {
264
+ "name": "--config",
265
+ "description": "Path to config file",
266
+ "type": "string"
267
+ },
268
+ {
269
+ "name": "--to",
270
+ "description": "Revert down to a specific migration (keeps that migration applied)",
271
+ "type": "string"
272
+ },
273
+ {
274
+ "name": "--debug",
275
+ "description": "Show debug information"
276
+ }
277
+ ],
278
+ "examples": [
279
+ "npx sequelize-cli db:migrate:undo:all",
280
+ "npx sequelize-cli db:migrate:undo:all --to=20240101000000-create-users.js",
281
+ "npx sequelize-cli db:migrate:undo:all --env=test"
282
+ ]
283
+ },
284
+ {
285
+ "name": "db:migrate:status",
286
+ "description": "Show the status of all migrations, indicating which have been applied (up) and which are pending (down).",
287
+ "args": [],
288
+ "options": [
289
+ {
290
+ "name": "--env",
291
+ "description": "Environment to use",
292
+ "type": "string"
293
+ },
294
+ {
295
+ "name": "--config",
296
+ "description": "Path to config file",
297
+ "type": "string"
298
+ },
299
+ {
300
+ "name": "--migrations-path",
301
+ "description": "Path to migrations directory",
302
+ "type": "string"
303
+ },
304
+ {
305
+ "name": "--url",
306
+ "description": "Database connection URL",
307
+ "type": "string"
308
+ }
309
+ ],
310
+ "examples": [
311
+ "npx sequelize-cli db:migrate:status",
312
+ "npx sequelize-cli db:migrate:status --env=production"
313
+ ]
314
+ },
315
+ {
316
+ "name": "db:seed",
317
+ "description": "Run a specific seeder file to populate the database with initial or test data.",
318
+ "args": [],
319
+ "options": [
320
+ {
321
+ "name": "--seed",
322
+ "description": "Name of the specific seeder file to run",
323
+ "type": "string"
324
+ },
325
+ {
326
+ "name": "--env",
327
+ "description": "Environment to use",
328
+ "type": "string"
329
+ },
330
+ {
331
+ "name": "--config",
332
+ "description": "Path to config file",
333
+ "type": "string"
334
+ },
335
+ {
336
+ "name": "--seeders-path",
337
+ "description": "Path to seeders directory",
338
+ "type": "string"
339
+ },
340
+ {
341
+ "name": "--url",
342
+ "description": "Database connection URL",
343
+ "type": "string"
344
+ },
345
+ {
346
+ "name": "--debug",
347
+ "description": "Show debug information"
348
+ }
349
+ ],
350
+ "examples": [
351
+ "npx sequelize-cli db:seed --seed=20240101000000-demo-users.js",
352
+ "npx sequelize-cli db:seed --seed=20240101000000-demo-users.js --env=test"
353
+ ]
354
+ },
355
+ {
356
+ "name": "db:seed:all",
357
+ "description": "Run all seed files to populate the database with data. Seeders are executed in alphabetical order.",
358
+ "args": [],
359
+ "options": [
360
+ {
361
+ "name": "--env",
362
+ "description": "Environment to use",
363
+ "type": "string"
364
+ },
365
+ {
366
+ "name": "--config",
367
+ "description": "Path to config file",
368
+ "type": "string"
369
+ },
370
+ {
371
+ "name": "--seeders-path",
372
+ "description": "Path to seeders directory",
373
+ "type": "string"
374
+ },
375
+ {
376
+ "name": "--url",
377
+ "description": "Database connection URL",
378
+ "type": "string"
379
+ },
380
+ {
381
+ "name": "--debug",
382
+ "description": "Show debug information"
383
+ }
384
+ ],
385
+ "examples": [
386
+ "npx sequelize-cli db:seed:all",
387
+ "npx sequelize-cli db:seed:all --env=test",
388
+ "npx sequelize-cli db:seed:all --debug"
389
+ ]
390
+ },
391
+ {
392
+ "name": "db:seed:undo",
393
+ "description": "Revert the most recently executed seeder file.",
394
+ "args": [],
395
+ "options": [
396
+ {
397
+ "name": "--seed",
398
+ "description": "Name of the specific seeder to revert",
399
+ "type": "string"
400
+ },
401
+ {
402
+ "name": "--env",
403
+ "description": "Environment to use",
404
+ "type": "string"
405
+ },
406
+ {
407
+ "name": "--config",
408
+ "description": "Path to config file",
409
+ "type": "string"
410
+ },
411
+ {
412
+ "name": "--debug",
413
+ "description": "Show debug information"
414
+ }
415
+ ],
416
+ "examples": [
417
+ "npx sequelize-cli db:seed:undo",
418
+ "npx sequelize-cli db:seed:undo --seed=20240101000000-demo-users.js"
419
+ ]
420
+ },
421
+ {
422
+ "name": "db:seed:undo:all",
423
+ "description": "Revert all seed files, removing all seeded data from the database.",
424
+ "args": [],
425
+ "options": [
426
+ {
427
+ "name": "--env",
428
+ "description": "Environment to use",
429
+ "type": "string"
430
+ },
431
+ {
432
+ "name": "--config",
433
+ "description": "Path to config file",
434
+ "type": "string"
435
+ },
436
+ {
437
+ "name": "--debug",
438
+ "description": "Show debug information"
439
+ }
440
+ ],
441
+ "examples": [
442
+ "npx sequelize-cli db:seed:undo:all",
443
+ "npx sequelize-cli db:seed:undo:all --env=test"
444
+ ]
445
+ },
446
+ {
447
+ "name": "migration:generate",
448
+ "description": "Generate a new migration file with a timestamp prefix and the specified name.",
449
+ "args": [],
450
+ "options": [
451
+ {
452
+ "name": "--name",
453
+ "description": "Name for the migration file",
454
+ "type": "string"
455
+ },
456
+ {
457
+ "name": "--underscored",
458
+ "description": "Use snake_case for the migration file name"
459
+ }
460
+ ],
461
+ "examples": [
462
+ "npx sequelize-cli migration:generate --name=create-users-table",
463
+ "npx sequelize-cli migration:generate --name=add-email-to-users --underscored"
464
+ ]
465
+ },
466
+ {
467
+ "name": "model:generate",
468
+ "description": "Generate a new model file and its associated migration file. Creates both the model definition and the initial migration to create the table.",
469
+ "args": [],
470
+ "options": [
471
+ {
472
+ "name": "--name",
473
+ "description": "Name of the model",
474
+ "type": "string"
475
+ },
476
+ {
477
+ "name": "--attributes",
478
+ "description": "Comma-separated list of attribute:type pairs",
479
+ "type": "string"
480
+ },
481
+ {
482
+ "name": "--force",
483
+ "description": "Force overwriting existing model file"
484
+ },
485
+ {
486
+ "name": "--underscored",
487
+ "description": "Use snake_case for table and column names"
488
+ }
489
+ ],
490
+ "examples": [
491
+ "npx sequelize-cli model:generate --name=User --attributes=firstName:string,lastName:string,email:string",
492
+ "npx sequelize-cli model:generate --name=Product --attributes=name:string,price:decimal,stock:integer --underscored",
493
+ "npx sequelize-cli model:generate --name=Order --attributes=userId:integer,total:decimal,status:enum:'{pending,shipped,delivered}'"
494
+ ]
495
+ },
496
+ {
497
+ "name": "seed:generate",
498
+ "description": "Generate a new seed file with a timestamp prefix for populating the database with test or initial data.",
499
+ "args": [],
500
+ "options": [
501
+ {
502
+ "name": "--name",
503
+ "description": "Name for the seed file",
504
+ "type": "string"
505
+ },
506
+ {
507
+ "name": "--underscored",
508
+ "description": "Use snake_case for the seed file name"
509
+ }
510
+ ],
511
+ "examples": [
512
+ "npx sequelize-cli seed:generate --name=demo-users",
513
+ "npx sequelize-cli seed:generate --name=initial-products --underscored"
514
+ ]
515
+ }
516
+ ],
517
+ "globalOptions": [
518
+ {
519
+ "name": "--help",
520
+ "short": "-h",
521
+ "description": "Show help information"
522
+ },
523
+ {
524
+ "name": "--version",
525
+ "description": "Show sequelize-cli version"
526
+ },
527
+ {
528
+ "name": "--env",
529
+ "description": "The environment to use (default: development)",
530
+ "type": "string"
531
+ },
532
+ {
533
+ "name": "--config",
534
+ "description": "Path to JSON config file (default: config/config.json)",
535
+ "type": "string"
536
+ },
537
+ {
538
+ "name": "--models-path",
539
+ "description": "Path to models directory (default: models/)",
540
+ "type": "string"
541
+ },
542
+ {
543
+ "name": "--seeders-path",
544
+ "description": "Path to seeders directory (default: seeders/)",
545
+ "type": "string"
546
+ },
547
+ {
548
+ "name": "--migrations-path",
549
+ "description": "Path to migrations directory (default: migrations/)",
550
+ "type": "string"
551
+ },
552
+ {
553
+ "name": "--url",
554
+ "description": "Database connection string URL (overrides config file)",
555
+ "type": "string"
556
+ },
557
+ {
558
+ "name": "--debug",
559
+ "description": "Show debug output and SQL queries"
560
+ },
561
+ {
562
+ "name": "--options-path",
563
+ "description": "Path to a JSON file with additional options",
564
+ "type": "string"
565
+ }
566
+ ],
567
+ "examples": [
568
+ "npx sequelize-cli init",
569
+ "npx sequelize-cli db:create",
570
+ "npx sequelize-cli model:generate --name=User --attributes=name:string,email:string",
571
+ "npx sequelize-cli db:migrate",
572
+ "npx sequelize-cli db:migrate:status",
573
+ "npx sequelize-cli db:migrate:undo",
574
+ "npx sequelize-cli db:migrate:undo:all",
575
+ "npx sequelize-cli seed:generate --name=demo-users",
576
+ "npx sequelize-cli db:seed:all",
577
+ "npx sequelize-cli db:seed:undo:all",
578
+ "npx sequelize-cli db:drop",
579
+ "npx sequelize-cli migration:generate --name=add-index-to-users"
580
+ ],
581
+ "relatedCommands": [
582
+ "prisma",
583
+ "typeorm",
584
+ "node",
585
+ "mysql",
586
+ "psql",
587
+ "npm",
588
+ "npx"
589
+ ],
590
+ "contextEngine": {
591
+ "detectors": [
592
+ {
593
+ "name": "sequelize_config_detect",
594
+ "description": "Detect Sequelize configuration files",
595
+ "command": "find . -maxdepth 3 -name '.sequelizerc' -o -name 'config.json' -path '*/config/*' 2>/dev/null | head -5",
596
+ "parser": "lines",
597
+ "cacheFor": 60
598
+ },
599
+ {
600
+ "name": "sequelize_models_detect",
601
+ "description": "Detect Sequelize model files",
602
+ "command": "find . -path '*/models/*.js' -o -path '*/models/*.ts' 2>/dev/null | head -10",
603
+ "parser": "lines",
604
+ "cacheFor": 60
605
+ },
606
+ {
607
+ "name": "sequelize_migrations_detect",
608
+ "description": "Detect Sequelize migration files",
609
+ "command": "find . -path '*/migrations/*.js' -type f 2>/dev/null | head -10",
610
+ "parser": "lines",
611
+ "cacheFor": 30
612
+ },
613
+ {
614
+ "name": "sequelize_seeders_detect",
615
+ "description": "Detect Sequelize seeder files",
616
+ "command": "find . -path '*/seeders/*.js' -type f 2>/dev/null | head -10",
617
+ "parser": "lines",
618
+ "cacheFor": 30
619
+ },
620
+ {
621
+ "name": "sequelize_package_detect",
622
+ "description": "Detect sequelize in package.json dependencies",
623
+ "command": "cat package.json 2>/dev/null | grep -E '\"sequelize(-cli)?\"' | head -3",
624
+ "parser": "lines",
625
+ "cacheFor": 60
626
+ }
627
+ ]
628
+ }
629
+ }