feat(migrations): CLI generate command (#8103)

This commit is contained in:
Adrien de Peretti authored and GitHub committed 2024-07-12 13:12:49 +02:00
1 parent 4c2e9a3239
commit 104b00d4e9
14 files changed
+341 -164

No files matched your search

+2 -2
View File
@@ -176,10 +176,10 @@ function buildLocalCommands(cli, isLocalProject) {
action: {
demand: true,
description: "The action to perform on migrations",
choices: ["run", "revert", "show"],
choices: ["run", "revert", "show", "generate"],
},
modules: {
description: "Revert migrations for defined modules",
description: "Modules for which to run the action (revert, generate)",
demand: false,
},
},