Skip to content

wrong formatted db-migrate db command should error out #556

Open
@aaronjameslang

Description

@aaronjameslang

I'm submitting a...

  • Bug report
  • Feature request
  • Question

Current behavior

Running db-migrate db create mydb hangs. Note the missing colon.

Expected behavior

Error message like 'Unknown command db' or 'Did you mean db:create ?'

Minimal reproduction of the problem with instructions

Run db-migrate db create mydb. I'm using postgres if that matters.

What is the motivation / use case for changing the behavior?

Ease of use

Environment


db-migrate version: ^0.10.6
db-migrate driver with versions: db-migrate-pg ^0.3.1

Additional information:
- Node version: v9.4.0
- Platform:  Mac

Others:


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions