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

Add option to specify config path argument name #334

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

joshlk
Copy link

@joshlk joshlk commented Dec 2, 2024

Add an option so the user can specify the name of the config path argument.

I have extended the add_config_path_arg parameter of ArgumentParser to accept a string. If specified this determines the name of the argument, otherwise, it defaults to the previous value of config_path.

I have also added the config_path parameter to ArgumentParser's docstrings, s it was missing previously.

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.

1 participant