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

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

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,
},
},