Skip to content

Conversation

princerb
Copy link

@princerb princerb commented Aug 5, 2025

This PR brings Quart's CLI in line with Flask's by exposing an explicit --debug/--no-debug option on the quart run command.

Usage: quart run [OPTIONS]

  Run a local development server.

Options:
  --debug / --no-debug     Set 'app.debug' separately from '--env'.
  -h, --host TEXT          The interface to bind to.
  -p, --port INTEGER       The port to bind to.
  --certfile, --cert FILE  Specify a certificate file to use HTTPS.
  --keyfile, --key FILE    The key file to use when specifying a certificate.
  --reload / --no-reload   Enable or disable the reloader
  --help                   Show this message and exit.

Tests added.

fixes #354

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable debug mode from CLI
1 participant