THE ORIONIS API
Build with clarity.
Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.
class documentation
Undocumented
| Method | __init__ |
Initialize Command instance with signature, concrete class, and method. |
| Method | arguments |
Set CLI arguments for the command. |
| Method | description |
Set description for the command. |
| Method | get |
Retrieve configured Command entity. |
| Method | timestamp |
Configure timestamp display for command output. |
| Instance Variable | __arguments |
Undocumented |
| Instance Variable | __concrete |
Undocumented |
| Instance Variable | __description |
Undocumented |
| Instance Variable | __method |
Undocumented |
| Instance Variable | __signature |
Undocumented |
| Instance Variable | __timestamp |
Undocumented |
def __init__(self, signature:
str, concrete: Callable[ ..., Any], method: str = 'handle'):
(source)
¶
Initialize Command instance with signature, concrete class, and method.
Validate input parameters and set up internal state for command execution.
| Parameters | |
signature:str | Command signature for CLI invocation. |
concrete:Callable[..., Any] | Class implementing command logic. |
method:str, default 'handle' | Method name to execute in concrete class. |
| Returns | |
None | This constructor does not return a value. |
| Raises | |
TypeError | If concrete is not a class or method is not a string. |
AttributeError | If method does not exist or is not callable in concrete class. |