Skip to content

docs: rewrite the CLI page for @sequelize/cli - #851

Draft
wikirik-agent wants to merge 2 commits into
mainfrom
wikirik-agent/cli-docs-v7
Draft

wikirik-agent wants to merge 2 commits into
mainfrom
wikirik-agent/cli-docs-v7

Conversation

@wikirik-agent

Copy link
Copy Markdown
Contributor

Split out of #838, which now only covers the query interface, resources and migrations-link changes.

What this contains

  1. docs: rewrite the CLI page for @sequelize/cli: the CLI page and the "The CLI has been completely rewritten" upgrade-guide section from Update queryInterface & resources docs #838, unchanged (authored by @ephys).
  2. docs: fix CLI page details that don't match the current CLI:
    • --name is not prompted for; a missing name generates unnamed
    • the timestamp uses a lowercase t
    • sequelize.config.ts is also discovered
    • JS/TS migration names include the file extension, which matters for --to
    • Oracle added to the dialect import-path table

Why draft

The CLI is still being completed for v7 (sequelize/sequelize#18587, sequelize/sequelize#18588 and more to come). This page will be updated alongside those PRs. Among the planned changes:

  • nested config keys (migrations.folder instead of migrationFolder)
  • a single context object for migrations, as this page already describes
  • seed run / seed undo
  • executed instead of migrated in JSON output
  • transactions per migration

🤖 Generated with Claude Code

ephys and others added 2 commits October 25, 2026 09:36
Moved from #838 (the CLI part of that PR), unchanged.
- `--name` is not prompted for; a missing name generates `unnamed`
- the timestamp uses a lowercase `t`
- `sequelize.config.ts` is also discovered
- document that JS/TS migration names include the file extension (for `--to`)
- add Oracle to the dialect import-path table

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
wikirik-agent added a commit that referenced this pull request Oct 25, 2026
The CLI page and the CLI upgrade-guide section now live in #851, so this
PR only covers the query interface, resources and migrations-link changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

🚀 Website draft URL
📋 Deployment logs

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants