ORIONIS API REFERENCE

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 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.
def arguments(self, args: list) -> ICommand: (source)

Set CLI arguments for the command.

Configure accepted command-line arguments.

Parameters
args:listList of Argument instances.
Returns
CommandReturns self for method chaining.
Raises
TypeErrorIf args is not a list or contains non-Argument elements.
def description(self, desc: str) -> ICommand: (source)

Set description for the command.

Assign a descriptive text for help and documentation.

Parameters
desc:strDescription text for the command.
Returns
CommandReturns self for method chaining.
Raises
TypeErrorIf desc is not a string.
def get(self) -> tuple[str, CommandEntity]: (source)

Retrieve configured Command entity.

Construct and return CommandEntity with all configuration.

Returns
tuple of (str, CommandEntity)Command signature and CommandEntity instance.
def timestamp(self, *, enabled: bool = True) -> ICommand: (source)

Configure timestamp display for command output.

Enable or disable timestamps in command results.

Parameters
enabled:bool, default TrueEnable or disable timestamp display.
Returns
CommandReturns self for method chaining.
Raises
TypeErrorIf enabled is not a boolean.