{
  "description": "Show or reset ccache statistics, clean or clear the cache and set its size limits. Compiler-wrapper use and remote storage options are left out.",
  "options": [
    {
      "names": [
        "--show-stats",
        "-s"
      ],
      "description": "Show statistics"
    },
    {
      "names": [
        "--show-config",
        "-p"
      ],
      "description": "Show configuration"
    },
    {
      "names": [
        "--zero-stats",
        "-z"
      ],
      "description": "Zero statistics",
      "isDangerous": true
    },
    {
      "names": [
        "--cleanup",
        "-c"
      ],
      "description": "Clean up cache"
    },
    {
      "names": [
        "--clear",
        "-C"
      ],
      "description": "Clear entire cache",
      "isDangerous": true
    },
    {
      "names": [
        "--evict-older-than"
      ],
      "description": "Unsigned integer with a d (days) or s (seconds) suffix.",
      "args": {
        "name": "evict_older_than",
        "description": "Unsigned integer with a d (days) or s (seconds) suffix.",
        "isOptional": false
      },
      "isDangerous": true
    },
    {
      "names": [
        "--max-size",
        "-M"
      ],
      "description": "Number with optional suffix kB, MB, GB, TB, KiB, MiB, GiB or TiB; 0 for no limit.",
      "args": {
        "name": "max_size",
        "description": "Number with optional suffix kB, MB, GB, TB, KiB, MiB, GiB or TiB; 0 for no limit.",
        "isOptional": false
      }
    },
    {
      "names": [
        "--max-files",
        "-F"
      ],
      "description": "0 for no limit.",
      "args": {
        "name": "max_files",
        "description": "0 for no limit.",
        "isOptional": false
      }
    },
    {
      "names": [
        "--dir",
        "-d"
      ],
      "description": "Cache directory",
      "args": {
        "name": "dir",
        "isOptional": false,
        "template": "folders"
      }
    },
    {
      "names": [
        "--dry-run"
      ],
      "description": "Dry run"
    },
    {
      "names": [
        "--verbose",
        "-v"
      ],
      "description": "Verbose",
      "isRepeatable": true
    }
  ],
  "name": "ccache"
}
