fix(cli): fix command description for plugin:db:generate (#11022)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2025-01-18 10:49:23 -05:00
1 parent c1385c7002
commit 2a5f2a5387
2 files changed
+6 -1

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"@medusajs/cli": patch
---
fix(cli): fix command description for plugin:db:generate
+1 -1
View File
@@ -240,7 +240,7 @@ function buildLocalCommands(cli, isLocalProject) {
}) })
.command({ .command({
command: "plugin:db:generate", command: "plugin:db:generate",
desc: "Generate migrations for a given module", desc: "Generate migrations for modules in a plugin",
handler: handlerP( handler: handlerP(
getCommandHandler("plugin/db/generate", (args, cmd) => { getCommandHandler("plugin/db/generate", (args, cmd) => {
process.env.NODE_ENV = process.env.NODE_ENV || `development` process.env.NODE_ENV = process.env.NODE_ENV || `development`