INNER CODE UNIT · Python
cli
omnirexflora-labs/omnicoreagent · src/omnicoreagent/serve/cli.py:92
def cli():
"""OmniServe - Production-ready API server for AI agents.
Deploy OmniCoreAgent as a REST/SSE API with a single command.
"""
pass
@cli.command()
@click.option(
"--agent",
"-a",
type=click.Path(exists=True),
help="Path to Python file containing the agent",
)
@click.option("--host", "-h", default=None, help="Host to bind to (default: 0.0.0.0)")
@click.option(
"--port", "-p", default=None, type=int, help="Port to bind to (default: 8000)"