_load_plugin_commands() — flask Function Reference
Architecture documentation for the _load_plugin_commands() function in cli.py from the flask codebase.
Entity Profile
Dependency Diagram
graph TD 67dea11c_5c94_6773_8a63_f280d0830338["_load_plugin_commands()"] ee9fbc8f_42bd_3ef5_a80f_72abfe054c0b["FlaskGroup"] 67dea11c_5c94_6773_8a63_f280d0830338 -->|defined in| ee9fbc8f_42bd_3ef5_a80f_72abfe054c0b 596bd738_9f64_52c9_9cdc_d6c4ce8f6278["get_command()"] 596bd738_9f64_52c9_9cdc_d6c4ce8f6278 -->|calls| 67dea11c_5c94_6773_8a63_f280d0830338 d828f6fc_89be_5a05_5589_42611ae7786a["list_commands()"] d828f6fc_89be_5a05_5589_42611ae7786a -->|calls| 67dea11c_5c94_6773_8a63_f280d0830338 style 67dea11c_5c94_6773_8a63_f280d0830338 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/flask/cli.py lines 600–607
def _load_plugin_commands(self) -> None:
if self._loaded_plugin_commands:
return
for ep in importlib.metadata.entry_points(group="flask.commands"):
self.add_command(ep.load(), ep.name)
self._loaded_plugin_commands = True
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does _load_plugin_commands() do?
_load_plugin_commands() is a function in the flask codebase, defined in src/flask/cli.py.
Where is _load_plugin_commands() defined?
_load_plugin_commands() is defined in src/flask/cli.py at line 600.
What calls _load_plugin_commands()?
_load_plugin_commands() is called by 2 function(s): get_command, list_commands.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free