introspect_cleo
Class info¶
🛈 DocStrings¶
Module for inspecting Cleo CLI applications.
get_info
¶
get_info(instance: Application, command: str | None = None) -> CommandInfo
Return a CommandInfo object for command of given Cleo Application.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
instance
|
Application
|
A Cleo Application instance |
required |
command
|
str | None
|
The command to get info for (e.g. |
None
|
Source code in src/clinspector/introspect/introspect_cleo.py
parse
¶
parse(app: Application) -> CommandInfo
Parse a Cleo Application into a CommandInfo object.