soorma-core 0.3.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
soorma/cli/main.py ADDED
@@ -0,0 +1,52 @@
1
+ """
2
+ Soorma CLI - Main entry point.
3
+
4
+ Commands:
5
+ soorma init <name> - Scaffold a new agent project
6
+ soorma dev - Start local development stack (Registry + NATS)
7
+ soorma deploy - Deploy to Soorma Cloud (coming soon)
8
+ """
9
+
10
+ import typer
11
+ from typing import Optional
12
+ from pathlib import Path
13
+
14
+ from .commands import init, dev
15
+
16
+ app = typer.Typer(
17
+ name="soorma",
18
+ help="Soorma CLI - Build and deploy AI agents with the DisCo architecture.",
19
+ no_args_is_help=True,
20
+ )
21
+
22
+ # Register commands
23
+ app.command(name="init", help="Scaffold a new agent project.")(init.init_project)
24
+ app.command(name="dev", help="Start local development stack (Registry + NATS).")(dev.dev_stack)
25
+
26
+
27
+ @app.command()
28
+ def deploy():
29
+ """
30
+ Deploy your agent to Soorma Cloud.
31
+ """
32
+ typer.echo("🚀 Deploy command coming soon!")
33
+ typer.echo("Visit https://soorma.ai to join the waitlist for Soorma Cloud.")
34
+ raise typer.Exit(0)
35
+
36
+
37
+ @app.command()
38
+ def version():
39
+ """
40
+ Show the Soorma CLI version.
41
+ """
42
+ from soorma import __version__
43
+ typer.echo(f"Soorma Core v{__version__}")
44
+
45
+
46
+ def main():
47
+ """Entry point for the CLI."""
48
+ app()
49
+
50
+
51
+ if __name__ == "__main__":
52
+ main()