{
  "description": "Show token-savings reports and find missed savings. Setup (init) and the proxy are left out.",
  "name": "rtk",
  "subcommands": [
    {
      "name": "gain",
      "description": "Savings report",
      "options": [
        {
          "names": [
            "--graph"
          ],
          "description": "ASCII graph (last 30 days)"
        },
        {
          "names": [
            "--history"
          ],
          "description": "Recent command history"
        },
        {
          "names": [
            "--daily"
          ],
          "description": "Day-by-day breakdown"
        },
        {
          "names": [
            "--all"
          ],
          "description": "All data"
        },
        {
          "names": [
            "--format"
          ],
          "description": "Export format",
          "args": {
            "name": "format",
            "isOptional": false,
            "suggestions": [
              {
                "name": "json",
                "description": "JSON"
              }
            ]
          }
        }
      ]
    },
    {
      "name": "discover",
      "description": "Find missed savings",
      "options": [
        {
          "names": [
            "--all"
          ],
          "description": "All projects"
        },
        {
          "names": [
            "--since"
          ],
          "description": "Since (days)",
          "args": {
            "name": "since",
            "isOptional": false
          }
        }
      ]
    }
  ]
}
