Buckets:

download
raw
629 Bytes
"""GRID CLI entry point."""
from __future__ import annotations
import click
@click.group()
def cli() -> None:
"""GRID command-line interface."""
@cli.command("list-events")
def list_events() -> None:
"""List all tracked events."""
events = _get_events()
for event in events:
click.echo(f"- {event}")
def _get_events() -> list[str]:
"""Retrieve events from the event store."""
try:
from grid.events import event_store
return event_store.get_all()
except Exception:
# Fallback: return default events when store is unavailable
return ["event1", "event2"]

Xet Storage Details

Size:
629 Bytes
·
Xet hash:
3c33fe89f248d04937032362e2ec59241081140b7deaa0a1056baaeb4a47103e

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.