{
  "description": "Record habits and show the consistency graph. The stats and todo subcommands are left out.",
  "name": "harsh",
  "subcommands": [
    {
      "name": "log",
      "description": "Show the consistency graph, optionally filtered by habit name fragment.",
      "options": [
        {
          "names": [
            "--json",
            "-j"
          ],
          "description": "JSON output"
        },
        {
          "names": [
            "--hide-ended",
            "-H"
          ],
          "description": "Hide ended habits"
        },
        {
          "names": [
            "--color",
            "-C"
          ],
          "description": "Color",
          "args": {
            "name": "color",
            "isOptional": false,
            "suggestions": [
              {
                "name": "always",
                "description": "Always"
              },
              {
                "name": "never",
                "description": "Never"
              },
              {
                "name": "auto",
                "description": "Auto"
              }
            ]
          }
        }
      ],
      "args": [
        {
          "name": "filter",
          "isOptional": true
        }
      ]
    }
  ]
}
