Skip to content

Quickstart

Terminal window
uv add quadkit-cli

Or install as a standalone tool:

Terminal window
uv tool install quadkit-cli
Terminal window
# Verify the CLI is available
quadkit --help
# Scaffold a new project
quadkit new project my-app --template web-api
cd my-app
# Start the dev server
quadkit dev --reload

The CLI can be integrated into a DI container via CLIModule:

from quadkit import Application
from quadkit.cli import CLIModule
app = Application(name="my-app")
app.add_module(CLIModule.configure())

Or using CLIProvider directly:

from quadkit.cli import CLIConfig
from quadkit.cli.di.provider import CLIProvider
provider = CLIProvider(config=CLIConfig())
app.add_provider(provider)
  • quadkit new project scaffolded a complete project structure with pyproject.toml, src/, tests/, and application.yaml
  • quadkit dev auto-detected the create_app() factory and launched an ASGI dev server with hot-reload
  • CLIModule.configure() registers the CLI provider and exports CLIApplicationProtocol
  • Guide — full walkthrough of every CLI command
  • How-Tos — task-oriented recipes