modal app

Manage deployed and running apps.

Usage:

modal app [OPTIONS] COMMAND [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • list: List all running or recently running Modal apps for the current account
  • logs: Output logs for a running app.
  • stop: Stop an app.

List all running or recently running Modal apps for the current account

Usage:

modal app list [OPTIONS]

Options:

  • --env TEXT: Environment to interact with

If none is specified, Modal will use the default environment of your current profile (can also be specified via the environment variable MODAL_ENVIRONMENT). If neither is set, Modal will assume there is only one environment in the active workspace and use that one, or raise an error if there are multiple environments.

  • --json / --no-json: [default: no-json]
  • --help: Show this message and exit.

Output logs for a running app.

Usage:

modal app logs [OPTIONS] APP_ID

Arguments:

  • APP_ID: [required]

Options:

  • --help: Show this message and exit.

Stop an app.

Usage:

modal app stop [OPTIONS] APP_ID

Arguments:

  • APP_ID: [required]

Options:

  • --help: Show this message and exit.