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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

--exclude_schema -> --exclude-schema #235

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mmkal
Copy link

@mmkal mmkal commented Feb 9, 2024

Hi there! 馃憢

Big fan of migra - I'm working on a typescript/nodejs port (which as an aside, would be great to talk about if you're interested). I'm running the test fixtures to validate the port works as expected, and noticed that the CLI arg for --exclude_schema uses snake case where every other uses kebab case.

This adds --exclude-schema, and deprecates --exclude_schema. I'm not super familiar with argparse/python generally but I tried both out and it seems to work. My tests have a workaround but thought it'd be worth opening a pull request.

If it was intentional to use snake case for this one arg, feel free to close.

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.

None yet

1 participant