Skip to content

Instantly share code, notes, and snippets.

View danielomiya's full-sized avatar
🏠
Working from home

Daniel Omiya danielomiya

🏠
Working from home
View GitHub Profile
@danielomiya
danielomiya / app.py
Last active September 4, 2025 14:02
Typer CLI app with lazy loading of subcommands
from __future__ import annotations
import importlib
from typing import TYPE_CHECKING
import typer
from typer.core import TyperGroup
if TYPE_CHECKING:
from click import Context