Bare Typer() with no commands raised RuntimeError at runtime. Callback makes the entry point callable without exposing F-07 logic. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
9 lines
188 B
Python
9 lines
188 B
Python
import typer
|
|
|
|
app = typer.Typer(help="codex — personal knowledge base for scientific papers.")
|
|
|
|
|
|
@app.callback()
|
|
def _main() -> None:
|
|
"""codex CLI — commands land here in F-07."""
|