socket analytics

Get analytics data at the organization and repository level

$ socket analytics --help

  Look up analytics data

  Usage
    $ socket analytics [options] [ "org" | "repo" <reponame>] [TIME]

  API Token Requirements
    - Quota: 1 unit
    - Permissions: report:write

  The scope is either org or repo level, defaults to org.

  When scope is repo, a repo slug must be given as well.

  The TIME argument must be number 7, 30, or 90 and defaults to 30.

  Options
    --file              Path to store result, only valid with --json/--markdown
    --json              Output as JSON
    --markdown          Output as Markdown

  Examples
    $ socket analytics org 7
    $ socket analytics repo test-repo 30
    $ socket analytics 90

Without --json or --markdown, the command opens an interactive dashboard in your terminal. Press q or Esc to close it. Here is an example of what it looks like:


Did this page help you?