QUART(1)

πŸ“¦ version 0.20.0, in fedora 43, fedora 44

πŸ’– QUART(1) πŸ’–

okay bestie, welcome to quart β€” the manual page, the moment, the whole vibe. it's filed under User Commands and it's literally the group chat for your Quart app. let's get into it 🫢


✨ NAME ✨

quart β€” a general utility script for Quart applications. that's it, that's the girl. no cap. πŸ’…


🌸 SYNOPSIS 🌸

quart [OPTIONS] COMMAND [ARGS]...

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically: it's a general utility script for Quart applications. πŸŽ€

here's the thing you actually need to know, and i'm saying it with my whole chest: an application to load must be given. you've got three ways to hand it over, pick your fighter:

  • with the --app option,
  • with the QUART_APP environment variable,
  • or by just having an app.py file sitting in the current directory like a little gift. πŸ“

πŸ‘‘ OPTIONS πŸ‘‘

🌈 OPTIONAL ARGUMENTS 🌈

  • -e, --env-file FILE β€” loads environment variables from this file. lowkey important: python-dotenv must be installed for this to work, so don't come crying to me if it's not, i warned you bestie 😭
  • -A, --app IMPORT β€” the QUART application or factory function to load, in the form module:name. the module can be a dotted import or a file path. the name isn't required if it's app, application, create_app, or make_app, and it can be used to pass arguments. iconic flexibility, honestly. ✨
  • --debug / --no-debug β€” sets app.debug separately from --env. yes, separately. it's giving independence. πŸ”₯
  • --version β€” shows the Quart version. quick lil flex. ⭐
  • --help β€” shows a help message and exits. the classic. the main character. πŸ™ˆ

🧚 COMMANDS 🧚

  • routes β€” shows the routes for the app. see quart-routes(1). πŸ’œ
  • run β€” runs a development server. see quart-run(1). πŸ’œ
  • shell β€” runs a shell in the app context. see quart-shell(1). πŸ’œ

🌟 SEE ALSO 🌟

quart-routes(1), quart-run(1), quart-shell(1)


and that's the whole page, bestie!! πŸŽ€ this one's from February 2024, part of the QUART(1) manual, section 1, under User Commands. go forth and serve. mwah πŸ’…βœ¨πŸ«Ά

πŸ“¦ where this page comes from