CLI

yawl is one binary: the panel (yawl server), the agent (yawl agent) and the command line. The CLI reaches the panel only through its API, after yawl login. Most commands read the project and environment from yawl.yaml in the current folder (-f names another file).

Commands

$ yawl help
usage: yawl <command>

  server      run the control plane (server claim-link: a new first-run link;
              server reset-2fa <email>: two-step sign in off for one person)
  agent       run the agent on this machine
  login       store the server URL and an API token
  apply       show the plan for yawl.yaml, then apply it
  deploy      deploy a service and follow its steps
  status      list services and their last deploy
  rollback    put the previous version back (never touches the database)
  restart     run the live version again in a new container, no build
  stop, start take a service off until it is started again
  logs        tail or search a service's logs (-f, -q text)
  domains     show a service's domains and their DNS and certificate state
  env         set, ls, rm, reveal or diff sealed variables
  recovery-key init   make the recovery key (once)
  github connect      connect a GitHub App (push to deploy, private repos)
  db          backup, backups or restore a database (restore --at: to a time)
  compose import      turn docker-compose.yml into Yawl services
  import      the same from render.yaml, fly.toml, captain-definition, Kamal's
              config/deploy.yml or Dokku's config:export (render|fly|caprover|kamal|dokku)
  mcp         serve the Model Context Protocol on stdio, for an AI assistant
  update      move the panel to a new release (agents follow; apps keep running)
  version     print the version

Arguments

Each command prints its usage when its arguments are wrong:

usage: yawl login <panel url> [--token <token>]
usage: yawl deploy <service> [--commit sha], or yawl deploy --tag <tag>
usage: yawl rollback <service> [--to deploy]
usage: yawl restart <service>
usage: yawl logs <service> [-f] [-q text] [-n 200]
usage: yawl domains <service>
usage: yawl env set <service> KEY [--shared] | ls <service> | rm <service> KEY [--shared] | reveal <service> KEY [--recovery] | diff <env> <env>
usage: yawl db backup|backups <database>, yawl db restore <database> <backup id>|--at <time> --into <new name>, or yawl db import <database> <file>|<https link>|server:<name>
usage: yawl export project/environment > yawl.yaml
usage: yawl compose import [compose file] [-f yawl.yaml] [--server <name>] [--project <name>] [--apply] [--yes]
usage: yawl import render|fly|caprover|kamal|dokku [file] [-f yawl.yaml] [--server <name>] [--project <name>] [--apply] [--yes]
usage: yawl import dokku <config:export output> [--storage <storage:list output>] [--name <app>]
usage: yawl recovery-key init
usage: yawl github connect

On the panel’s machine:

usage: yawl server reset-2fa <email>
usage: yawl server reset-password <email>
usage: yawl server token create <name>
usage: yawl server restore --endpoint E --bucket B --access-key A [--region R] [--from key]
usage: yawl agent join <server url> <token>
usage: yawl agent server-url https://panel.example.com

More