Flask - Ecosystem and Patterns
Identify the error in this Flask CLI command code:
from flask import Flask
app = Flask(__name__)
@app.cli.command()
def hello():
print('Hello from CLI')
if __name__ == '__main__':
app.run()