Skip to content
lighthouse
Menu

CLI command · @houses/lighthouse-cli

lhci-toolkit list

List every Project on the LHCI server with its slug and id.

lhci-toolkit --server-url https://lhci.example.com \
  --admin-username "$LHCI_BASIC_AUTH_USERNAME" \
  --admin-password "$LHCI_BASIC_AUTH_PASSWORD" \
  list

Calls GET /v1/projects and prints one line per Project: name, slug and id. Use it to check that a Registration worked or to find a Project slug for PSI collection.