ismail-s/fireblog

Combine all commands into one

Opened this issue · 1 comments

Atm, there is initialize_fireblog_db and uwsgi, one for upgrading/checking/setting up db and one for running the website. It would be good to combine the 2 into one grand command which takes as input an ini file and does whatever it is told to do.

The command could be named eg fireblog

Available commands:

  • start, reload, stop (wrappers around uwsgi commands)
  • db (some alembic wrappers and some of my own code)
    • upgrade
    • current
    • init
    • check
  • ...

Such an API can be created using click

Also, whilst working on this, be aware of #29.