Command reference
app logs
Show the API calls your app made, newest last.
npx @storeware/cli app logs [manifest] [flags]Arguments
| Argument | Required | What it is |
|---|---|---|
[manifest] | No | The manifest that names the app, when --app is not given. |
Flags
| Flag | What it does |
|---|---|
--app <slug> | Which app, by slug. The one in this directory's manifest when not given. |
--console | Show what a hosted app's code logged instead, with how each run ended. Hosting is in beta. |
--store <handle> | Only calls on this development store, by handle or id. |
--failed | Only calls that failed, with a 4xx or 5xx status. With --console, also runs that stopped early or logged an error. |
--follow | Keep printing calls as they are made, until you stop it. |
--json | Print the calls as JSON, for a script. Not with --follow, except with --console, which prints one entry per line. |
Examples
npx @storeware/cli app logs
npx @storeware/cli app logs --follow --failed
npx @storeware/cli app logs --console --followEvery command also takes the flags on the reference page.