db-migrate / db-migrate/node-db-migrate
wrong formatted db-migrate db command should error out
- Dominant language
- JavaScript
- Stars
- 2.3k
- Forks
- 361
- PR merge metrics
- No merged PRs in 30d
Description
## I'm submitting a...
- [x] 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!](https://www.bountysource.com/issues/56327155-wrong-formatted-db-migrate-db-command-should-error-out?utm_campaign=plugin&utm_content=tracker%2F73887&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F73887&utm_medium=issues&utm_source=github).
Contributor guide
Assessment
This issue has not been assessed yet.