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

--skip-steps option throws error when multiple steps are specified #173

Open
easybi-gl opened this issue Aug 19, 2024 · 1 comment
Open

Comments

@easybi-gl
Copy link

Describe the bug

When using the --skip-steps CLI option in Pynonymizer, specifying more than one step causes the command to fail, throwing an error instead of skipping the intended steps. The option works correctly with a single step, but fails when multiple steps are listed.

To Reproduce

Run the pynonymizer command with skip steps option specified: --skip-steps CREATE_DB DROP_DB. This produces the following error: Got unexpected extra arguments (DROP_DB])

Expected behaviour

The --skip-steps option should allow multiple steps to be specified without throwing an error. The specified steps (e.g., CREATE_DB, DROP_DB) should be successfully skipped, and the remaining process should execute as expected.

@rwnx
Copy link
Owner

rwnx commented Aug 20, 2024

I can't test right now, but I think the usage for that option is to repeat the option:

Is there an error in the docs somewhere, or a regression in behaviour?

--skip_steps CREATE_DB --skip_steps DROP_DB

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

No branches or pull requests

2 participants