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

class MakeConsoleCommand(MakeStubCommand): (source)

View In Hierarchy

Generate a custom command for the Orionis CLI.

Method getReplacements Return the signature and description placeholders.
Async Method handle Validate a command signature and create its file on a worker thread.
Class Variable arguments Undocumented
Class Variable description Undocumented
Class Variable path_key Undocumented
Class Variable postfix Undocumented
Class Variable replacement_arguments Undocumented
Class Variable signature Undocumented
Class Variable success_label Undocumented
Class Variable template_name Undocumented
Class Variable timestamps Undocumented

Inherited from MakeStubCommand:

Method createFile Render one stub into its configured application directory.
Method createFiles Create the files produced by this command.
Method getTemplateName Return the selected template name.
Class Variable prefix Undocumented
def getReplacements(self) -> dict[str, str]: (source)

Return the signature and description placeholders.

Returns
dict[str, str]Placeholder values for the console command stub.
async def handle(self, app: IApplication, reactor: IReactor): (source)

Validate a command signature and create its file on a worker thread.

Parameters
app:IApplicationApplication that resolves the destination path.
reactor:IReactorRegistered command collection used to reject duplicate signatures.
Returns
NoneWrite success or error details to the command output.
description: str = (source)

Undocumented

signature: str = (source)

Undocumented

timestamps: bool = (source)

Undocumented