Skip to main content

kopi-console commands

usage: kopi-console [-h] [--cli] {web,run,status,install,environment} ...

Local web console over the kopi apps.

positional arguments:
  {web,run,status,install,environment}
    web                 Open the web console in the browser (the default)
    run                 Run one app command and print its log
    status              List the apps and their commands
    install             Check dependencies and find the apps
    environment         Print as JSON the settings, models and keys chosen
                        here for one app, keys included

options:
  -h, --help            show this help message and exit
  --cli                 Show every app in one terminal menu and open the one
                        you choose

web

usage: kopi-console web [-h] [--port N] [--no-browser]

options:
  -h, --help    show this help message and exit
  --port N      Port (default: 5191)
  --no-browser  Do not open a browser tab

run

usage: kopi-console run [-h] app cmd ...

positional arguments:
  app         App, for example kopi-editor
  cmd         Command, for example analyze
  values      Form values as name=value, for example file=chapter.docx
              --lang=british

options:
  -h, --help  show this help message and exit

status

usage: kopi-console status [-h] [--json]

options:
  -h, --help  show this help message and exit
  --json      Print the apps and commands as one JSON line

install

usage: kopi-console install [-h]

options:
  -h, --help  show this help message and exit

environment

usage: kopi-console environment [-h] app

positional arguments:
  app         App, for example kopi-editor

options:
  -h, --help  show this help message and exit