feat(cli): ignore letter casing of commands
This commit is contained in:
parent
53cdb23237
commit
8f623efd45
2 changed files with 6 additions and 1 deletions
|
|
@ -245,7 +245,7 @@ const commands: Record<string, Action> = {
|
|||
new: newMigration,
|
||||
};
|
||||
|
||||
const command = process.argv[2];
|
||||
const command = process.argv[2]?.toLowerCase();
|
||||
const action = command ? commands[command] : undefined;
|
||||
|
||||
if (!action) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue