Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print help only when there are no arguments #3617

Merged
merged 2 commits into from Jan 14, 2020
Merged

Commits on Jan 13, 2020

  1. output help only when there are no arguments

    knex cli should output help only when there are no arguments.
    current implementation always outputs help, even with correct arguments, such as `knex migrate:status`
    the argument length should be checked via process.argv.
    reference: https://github.com/tj/commander.js/#outputhelpcb
    
    Add tests for help command
    yeonhoyoon committed Jan 13, 2020
    Copy the full SHA
    606f944 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2020

  1. Copy the full SHA
    85a78ea View commit details
    Browse the repository at this point in the history