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
class IBaseCommand(ABC): (source)
Known subclasses: orionis.console.base.BaseCommand
Undocumented
| Method | get |
Retrieve the value of a command-line argument by key, with optional default. |
| Method | get |
Return all parsed command-line arguments and options. |
| Async Method | handle |
Run the main logic for the command. |
| Method | set |
Set the internal arguments dictionary with parsed command-line arguments. |
| Class Variable | arguments |
Undocumented |
| Class Variable | description |
Undocumented |
| Class Variable | signature |
Undocumented |
| Class Variable | timestamps |
Undocumented |
overridden in
orionis.console.base.BaseCommandRetrieve the value of a command-line argument by key, with optional default.
| Parameters | |
key:str | Argument name to retrieve. |
default:Any, optional | Value to return if key is not found. Defaults to None. |
| Returns | |
Any | Value of the argument if found, else the default value. |
| Raises | |
ValueError | If key is not a string or internal arguments are not a dictionary. |
overridden in
orionis.console.base.BaseCommandRun the main logic for the command.
This method must be implemented by subclasses to define the command's behavior. It is called after argument parsing and validation.
| Returns | |
None | No value is returned. Output should be handled via console methods. |
| Raises | |
NotImplementedError | Raised if not implemented in a subclass. |