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 an --app= flag for specifying the WSGI application #457

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

Conversation

kgaughan
Copy link
Member

This is essentially a less-invasive version of #441. As with that PR, this PR adds support for a --app flag for specifying the WSGI app to run. Unlike that one, it maintains the getopt-based implementation. There's certainly some value in moving to argparse at some point, but it'd need to integrate properly with the Adjustments class.

Closes #439, closes #441.

@@ -459,9 +459,12 @@ def parse_args(cls, argv):
else:
long_opts.append(opt + "=")

long_opts.append("app=")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The option can’t be added to cls._params ?

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.

Make MODULE:APP non-positional (but still required) argument
2 participants