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

CLI #10

Open
3 tasks
mb-wali opened this issue Oct 29, 2020 · 1 comment
Open
3 tasks

CLI #10

mb-wali opened this issue Oct 29, 2020 · 1 comment
Labels
refactoring refactore the code base

Comments

@mb-wali
Copy link
Contributor

mb-wali commented Oct 29, 2020

This file runs in a separate environment rather than the module itself.
we need to refactor the cli.py file for this module. and use the Flask.commands.

Originally posted by @mb-wali in #9 (comment)

Roadmap

  • replace docopt with click
  • move the run files somewhere more meaningful (still under discussion)
  • make it possible to run it in on celery/cronjob (hopefully [3] @with_appcontext is enough for that)

References

@mb-wali mb-wali added the refactoring refactore the code base label Oct 29, 2020
@utnapischtim
Copy link
Contributor

it is true that we have to refactor the cli:

  • replace docopt with click
  • move the run files somewhere more meaningful (still under discussion)
  • make it possible to run it in on celery/cronjob (hopefully [3] @with_appcontext is enough for that)

references:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring refactore the code base
Projects
None yet
Development

No branches or pull requests

2 participants