Docs
Open SmallForce

CLI

smallforce app analytics

Read human visitor and crawler analytics

This page is generated from the same Commander definition shipped in SmallForce CLI 0.1.11. Run smallforce app analytics --help locally to view the same reference for your installed version.

Complete command help

Usage: smallforce app analytics [options]

Read human visitor and crawler analytics

Options:
  --days <count>                  UTC days ending at --to; defaults to 30
  --from <date>                   Inclusive UTC start date in YYYY-MM-DD format
  --to <date>                     Inclusive UTC end date in YYYY-MM-DD format; defaults to today
  -e, --environment <name-or-id>  Environment name or UUID. Read commands default to preview;
                                  mutations require an explicit environment. (default: "preview")
  --app-id <id>                   Application id; defaults to smallforce.json in the current
                                  directory
  --api-key <key>                 SmallForce API key, or set SMALLFORCE_API_KEY
  --backend-url <url>             SmallForce backend URL, or set SMALLFORCE_BACKEND_URL
  --json                          Print stable machine-readable JSON
  --text                          Print human-readable text
  --format <format>               Output format: text or json
  -h, --help                      display help for command