Spaces:
Paused
Paused
Download backend/cli/main.py from data-llm-hub/tensorwall: direct link, hf CLI and curl.
- Browser
- Download file 693 Bytes
-
https://huggingface.co/spaces/data-llm-hub/tensorwall/resolve/main/backend/cli/main.py
- Command line
-
hf download hf://spaces/data-llm-hub/tensorwall/backend/cli/main.py
-
curl -L -o main.py https://huggingface.co/spaces/data-llm-hub/tensorwall/resolve/main/backend/cli/main.py
693 Bytes
| """TensorWall CLI - Main entry point.""" | |
| import typer | |
| from rich.console import Console | |
| from backend.cli.commands import setup, migrate, admin, seed, check | |
| console = Console() | |
| app = typer.Typer( | |
| name="tensorwall", | |
| help="TensorWall CLI - Administration and setup tools.", | |
| no_args_is_help=True, | |
| ) | |
| # Register command groups | |
| app.add_typer(setup.app, name="setup") | |
| app.add_typer(migrate.app, name="migrate") | |
| app.add_typer(admin.app, name="admin") | |
| app.add_typer(seed.app, name="seed") | |
| app.add_typer(check.app, name="check") | |
| def version(): | |
| """Show version information.""" | |
| console.print("[bold]TensorWall[/bold] v0.1.0") | |
| if __name__ == "__main__": | |
| app() | |