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" \
listCalls 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.
More tools
All tools →- 01
lhci-toolkit register
Register a repo as a Project on the LHCI server and print its Build token.
- 02
loginWithCredentials
Fill and submit a username and password form before the audit (Credential login).
- 03
injectSessionCookies
Set cookies from a real, human-completed login instead of driving the form (Session injection).