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

Better CLI #17

Open
ghost opened this issue Oct 31, 2020 · 0 comments
Open

Better CLI #17

ghost opened this issue Oct 31, 2020 · 0 comments
Labels
enhancement New feature or request priority: low Low priority issues

Comments

@ghost
Copy link

ghost commented Oct 31, 2020

Currently we just use a lot of

if "command" in sys.argv:
    sys.argv[sys.argv.index(command) + 1]

... to parse the cli flags but this seems to be a little inefficient and hard to maintain. Something better such as a separate module would be better. And, we need a more robust and flexible command line so that you don't need to edit the config.py file for a temporary change.

@ghost ghost added enhancement New feature or request priority: low Low priority issues labels Oct 31, 2020
ghost pushed a commit that referenced this issue Nov 24, 2020
The can now start through gunicorn. However this is a workaround
as it is not efficient enough. [#16, #17]
ghost pushed a commit that referenced this issue Feb 6, 2021
The can now start through gunicorn. However this is a workaround
as it is not efficient enough. [#16, #17]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority: low Low priority issues
Projects
None yet
Development

No branches or pull requests

0 participants