orchestrata_ultimate.kernel.console_cli

Reference › orchestrata_ultimate › kernel › console_cli

A stub entry point for the interactive console (TUI). A click group cli carries two commands, start, which launches the console, and version, which shows its version; main is the console-script entry. The group's own docstring says the console is not yet implemented. No module imports it, and two test files cover it. The working command-line surfaces are cli for the standalone kernel and cli_main for the monolithic deployment.

At a glance

Source src/orchestrata_ultimate/kernel/console_cli.py
Lines of code 40
Classes 0
Functions 4
Imports (internal) none
Imported by none
Tests that import it tests/generated_recovery/test_kernel_console_cli.py, tests/kernel/test_console_cli.py

Class diagram

No classes; see Functions.

Dependency diagram

No internal imports and no importers.

API

Functions

Function Signature Summary
cli click.group cli() -> None Orchestrata Console — Interactive TUI (not yet implemented).
start cli.command start() -> None Launch the interactive console.
version cli.command version() -> None Show console version.
main main() -> None Entry point for console_scripts.

Source

Permalink: https://gitlab.com/MSamy/orchestrata-ultimate-architecture/-/blob/a4cbc2bdf/src/orchestrata_ultimate/kernel/console_cli.py

"""Orchestrata Console CLI — TUI entry point (stub).

The interactive console TUI is not yet implemented.
This stub provides the CLI entry point for future development.

Author: Mohamed
"""

# Spec: 001 - Orchestration Kernel

import click

__version__ = "0.1.0"


@click.group()
def cli() -> None:
    """Orchestrata Console — Interactive TUI (not yet implemented)."""


@cli.command()
def start() -> None:
    """Launch the interactive console."""
    click.echo("Console TUI is not yet implemented.")
    raise SystemExit(1)


@cli.command()
def version() -> None:
    """Show console version."""
    click.echo(f"orchestrata-console {__version__}")


def main() -> None:
    """Entry point for console_scripts."""
    cli()


if __name__ == "__main__":
    main()