title: How to add MigrateCommand while using flask built in cli?
body: <p>Earlier while using Manager from flask_script  we can add command to Manager like this.</p>
  
  <pre><code>from flask_migrate import Migrate, MigrateCommand
  from flask_script import Manager
  
  manager = Manager(app)
  manager.add_command('db', MigrateCommand)
  </code></pre>
  
  <p>Now in this new flask app I am not using flask script, so how do I add command db to like  flask run is?</p>