title: How to run flask CLI command in AWS Elastic Beanstalk
body: <p>I have my flask server running in AWS Elastic Beanstalk, however, I want to run some custom flask CLI commands that are listed in <strong>commands.py</strong> file of my repository. Previously when my server was hosted in Heroku, I was able to run these commands through the Heroku console, however I'm unable to figure out how to run these commands in Elastic Beanstalk or even go inside of the beanstalk environment and run my custom flask commands through the command line.</p>
  <p>I tried using the <em>eb cli</em> but that seems to only allow me to mainly deploy, terminate, open the Elastic Beanstalk environment but nothing in the <em>eb cli</em> seems to allow me to even run <code>flask --help</code> inside the environment</p>