This works similar to a regular click ~click.Group
but it
changes the behavior of the command
decorator so that it
automatically wraps the functions in with_appcontext
.
Not to be confused with FlaskGroup
.
Method | command |
This works exactly like the method of the same name on a regular click.Group but it wraps callbacks in with_appcontext unless it's disabled by passing with_appcontext=False. |
Method | group |
This works exactly like the method of the same name on a regular click.Group but it defaults the group class to AppGroup . |
click.Group
but it wraps callbacks in with_appcontext
unless it's disabled by passing with_appcontext=False.click.Group
but it defaults the group class to
AppGroup
.