PANELITH DOCS Open the interactive docs ↗

Reference · Panelith 0.1.0 · plain HTML edition; the interactive edition has search and live examples

Command line

On this page 5 sections
  1. panelith run
  2. panelith serve
  3. panelith docs
  4. panelith manifest
  5. panelith types

The panelith command line.

panelith run#

serve an app

Argument Default Help
target module:AppClass (or module)
--host '127.0.0.1' interface to bind (0.0.0.0 exposes it on the network)
--port 8000 port to listen on
--open open a browser tab
--log-level 'info' uvicorn log level
--forwarded-allow-ips trust X-Forwarded-* from these proxy addresses ('*' for any)

panelith serve#

serve several apps from one process, each under a prefix

Argument Default Help
targets module:App[@/mount] (a dict attr mounts each entry under /mount/)
--host '127.0.0.1' interface to bind
--port 8000 port to listen on
--log-level 'info' uvicorn log level
--forwarded-allow-ips trust X-Forwarded-* from these proxy addresses ('*' for any)

panelith docs#

serve the Panelith documentation

Argument Default Help
--host '127.0.0.1' interface to bind
--port 8010 port to listen on
--open open a browser tab on the docs

panelith manifest#

print an app's manifest JSON

Argument Default Help
target module:AppClass (or module)

panelith types#

emit TypeScript types from the schema

Argument Default Help
out file to write; prints to stdout when omitted