(f: t.Callable[..., t.Any])
| 420 | wrap_for_ctx = kwargs.pop("with_appcontext", True) |
| 421 | |
| 422 | def decorator(f: t.Callable[..., t.Any]) -> click.Command: |
| 423 | if wrap_for_ctx: |
| 424 | f = with_appcontext(f) |
| 425 | return super(AppGroup, self).command(*args, **kwargs)(f) # type: ignore[no-any-return] |
| 426 | |
| 427 | return decorator |
| 428 |
nothing calls this directly
no test coverage detected