CLI production reads
Layout CLI 0.2 can call any endpoint from your terminal, and read production when you need to see what happened there. It still never changes production or moves money.
What changed
layout login --liveasks to read production for 12 hours. The console marks the request as production and asks for a sign-in from the last 15 minutes before you can approve it.--liveworks onlisten,deliveries,keys listandwebhooks list. Live keys, the live signing secret and every production setting stay in the console.layout api get /v1/whoamicalls any REST endpoint and prints the answer. It uses your sandbox key, a token you pass with--token, orLAYOUT_SECRET_KEY. In production it only reads, and only with your own live secret.LAYOUT_SECRET_KEY=sk_test_...runsapiandtest-orderwithoutlayout login, so they work in CI.
Why it matters
You can debug a production webhook from your own machine the same way you built it in sandbox, and an agent can try any endpoint without writing a client first.
What to do
Update with npm i -g @layoutplatforms/cli. Routes that act for a person, such as places and carts, need that person's token in --token. See Production and Call the API.
Breaking changes
None.