Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Evaluate whether Click satisfies our requirements better than argparse #3

Open
jweyrich opened this issue Mar 10, 2022 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@jweyrich
Copy link
Owner

jweyrich commented Mar 10, 2022

We currently have a limitation related to argparser's subparsers, which I'm still not sure how to properly fix.
If you specify a config file in the command, then the command argument MUST come after the config file argument. Example:

static-deployer -c config.toml deploy --version VERSION

We currently can't use the -c <file> argument after the command (subparser), example:

static-deployer deploy -c config.toml --version VERSION

With that in mind, Click looks like a powerful and elegant alternative to argparse.

@jweyrich jweyrich changed the title Evaluate whether Click is a better option than argparse Evaluate whether Click satisfies our requirements better than argparse Mar 10, 2022
@jweyrich jweyrich added the enhancement New feature or request label Mar 10, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant