cli._run

Page actions AI-ready formats and sharing
Open LLM text
Share with AI
Ask Claude Ask ChatGPT Ask Gemini Ask Copilot

chirp run— development or production server command.

Resolves an import string to a chirp App and starts either the development server (single worker, auto-reload) or production server (multi-worker, Phase 5 &…

chirp run— development or production server command.

Resolves an import string to a chirp App and starts either the development server (single worker, auto-reload) or production server (multi-worker, Phase 5 & 6 features).

cli._run

Name Type Default Description
type
qualified_name
element_type
description
source_file
line_number
is_autodoc
autodoc_element
_autodoc_template
_autodoc_url_path
_autodoc_page_type
title
doc_content_hash

Symbols on this page

run_server
function
def run_server(args: argparse.Namespace) -> None

Start the chirp server (dev or production mode).

Resolvesargs.appto a chirp App, then delegates to either:

  • run_dev_server()for development (debug=True)
  • run_production_server()for production (--production flag or debug=False)

CLI flags override app config for production features.

Parameters

Name Type Default Description
args argparse.Namespace

View source · /home/runner/work/chirp/chirp/site/../src/chirp/cli/_run.py:1