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.
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.