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

Simplify cargo-sqlx cmdline definition #1626

Merged
merged 3 commits into from
Feb 16, 2022

Conversation

tranzystorekk
Copy link
Contributor

Updates clap to the official 3.0 release and removes workarounds for the cargo subcommand in favor of a simple enum Parser with the added bin_name = "cargo" setting.

This makes clap think the binary is called cargo and has only the sqlx subcommand, so the help output is unchanged.

@abonander abonander merged commit 313cc69 into launchbadge:master Feb 16, 2022
@tranzystorekk tranzystorekk deleted the cargo-sqlx-simplified branch February 16, 2022 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants