backend: initial commit
This commit is contained in:
@@ -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.")
|
||||
Reference in New Issue
Block a user