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)
Generate a custom command for the Orionis CLI.
| Method | get |
Return the signature and description placeholders. |
| Async Method | handle |
Validate a command signature and create its file on a worker thread. |
| Class Variable | arguments |
Command-line argument declarations accepted by this command. |
| Class Variable | description |
Creates a new custom console command.. |
| Class Variable | path |
app_console_commands. |
| Class Variable | postfix |
Command. |
| Class Variable | replacement |
Command arguments forwarded to template placeholder replacement. |
| Class Variable | signature |
make:console-command. |
| Class Variable | success |
Console command. |
| Class Variable | template |
console_command. |
| Class Variable | timestamps |
Timestamps flag used by MakeConsoleCommand. |
Inherited from MakeStubCommand:
| Method | create |
Render one stub into its configured application directory. |
| Method | create |
Create the files produced by this command. |
| Method | get |
Return the selected template name. |
| Class Variable | prefix |
Prefix applied when constructing names or storage keys. |
Validate a command signature and create its file on a worker thread.
| Parameters | |
app:orionis.IApplication | Application that resolves the destination path. |
reactor:orionis.console.core.contracts.reactor.IReactor | Registered command collection used to reject duplicate signatures. |
| Returns | |
int or None | Return 1 after reporting a generation error, or None on success. |