Flask - Ecosystem and Patterns
Which of the following is the correct way to define a custom Flask CLI command using the command pattern?
@app.cli.command() decorator.@app.command() and @cli.command() are invalid, and @app.route() is for HTTP routes, not CLI commands.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions