backend: initial commit

This commit is contained in:
Davide Scaini
2026-03-28 13:57:12 +01:00
commit 38c5423aeb
36 changed files with 2463 additions and 0 deletions
View File
+18
View File
@@ -0,0 +1,18 @@
"""bincio render — CLI command (stub, Astro stage TBD)."""
import click
from rich.console import Console
console = Console()
@click.command()
@click.option("--config", "config_path", default="site_config.yaml")
@click.option("--out", "out_dir", default="./site/dist")
@click.option("--serve", is_flag=True, help="Start dev server with hot reload.")
@click.option("--deploy", default=None, metavar="TARGET",
help="Deploy target: 'github'.")
def render(config_path: str, out_dir: str, serve: bool, deploy: str | None) -> None:
"""Generate static site from BAS data store (Astro stage — coming soon)."""
console.print("[yellow]bincio render is not yet implemented.[/yellow]")
console.print("The web renderer (Astro + MapLibre + Observable Plot) is next.")