{
  "description": "Disk usage analysis with dua: aggregate sizes, the interactive browser, disposable-directory discovery and flame graphs. Short flags, snapshots and config subcommands are not covered.",
  "name": "dua",
  "subcommands": [
    {
      "name": "aggregate",
      "description": "Aggregate sizes",
      "options": [
        {
          "names": [
            "--depth"
          ],
          "description": "Print an indented tree this many levels deep.",
          "args": {
            "name": "depth",
            "description": "Print an indented tree this many levels deep.",
            "isOptional": false
          }
        },
        {
          "names": [
            "--apparent-size"
          ],
          "description": "Show apparent size instead of disk usage."
        },
        {
          "names": [
            "--format"
          ],
          "description": "Byte format",
          "args": {
            "name": "format",
            "isOptional": false,
            "suggestions": [
              {
                "name": "metric",
                "description": "Metric"
              },
              {
                "name": "binary",
                "description": "Binary"
              },
              {
                "name": "bytes",
                "description": "Bytes"
              },
              {
                "name": "gb",
                "description": "GB"
              },
              {
                "name": "gib",
                "description": "GiB"
              },
              {
                "name": "mb",
                "description": "MB"
              },
              {
                "name": "mib",
                "description": "MiB"
              }
            ]
          }
        },
        {
          "names": [
            "--no-sort"
          ],
          "description": "Keep command-line order"
        },
        {
          "names": [
            "--no-total"
          ],
          "description": "No total column"
        },
        {
          "names": [
            "--ignore-from"
          ],
          "description": "gitignore-style patterns whose matches are left out.",
          "args": {
            "name": "ignore_from",
            "description": "gitignore-style patterns whose matches are left out.",
            "isOptional": false,
            "isVariadic": true,
            "template": "filepaths"
          },
          "isRepeatable": true
        },
        {
          "names": [
            "--threads"
          ],
          "description": "0 uses the number of logical processors.",
          "args": {
            "name": "threads",
            "description": "0 uses the number of logical processors.",
            "isOptional": false
          }
        }
      ],
      "args": [
        {
          "name": "inputs",
          "description": "Defaults to the current directory.",
          "isOptional": true,
          "isVariadic": true,
          "template": "filepaths"
        }
      ]
    },
    {
      "name": "interactive",
      "description": "Browse interactively",
      "options": [
        {
          "names": [
            "--apparent-size"
          ],
          "description": "Show apparent size instead of disk usage."
        },
        {
          "names": [
            "--ignore-from"
          ],
          "description": "gitignore-style patterns whose matches are left out.",
          "args": {
            "name": "ignore_from",
            "description": "gitignore-style patterns whose matches are left out.",
            "isOptional": false,
            "isVariadic": true,
            "template": "filepaths"
          },
          "isRepeatable": true
        },
        {
          "names": [
            "--threads"
          ],
          "description": "0 uses the number of logical processors.",
          "args": {
            "name": "threads",
            "description": "0 uses the number of logical processors.",
            "isOptional": false
          }
        },
        {
          "names": [
            "--format"
          ],
          "description": "Byte format",
          "args": {
            "name": "format",
            "isOptional": false,
            "suggestions": [
              {
                "name": "metric",
                "description": "Metric"
              },
              {
                "name": "binary",
                "description": "Binary"
              },
              {
                "name": "bytes",
                "description": "Bytes"
              },
              {
                "name": "gb",
                "description": "GB"
              },
              {
                "name": "gib",
                "description": "GiB"
              },
              {
                "name": "mb",
                "description": "MB"
              },
              {
                "name": "mib",
                "description": "MiB"
              }
            ]
          }
        }
      ],
      "args": [
        {
          "name": "inputs",
          "description": "Defaults to the current directory.",
          "isOptional": true,
          "isVariadic": true,
          "template": "filepaths"
        }
      ]
    },
    {
      "name": "clean",
      "description": "Find disposable directories",
      "options": [
        {
          "names": [
            "--depth"
          ],
          "description": "0 checks only the supplied directories.",
          "args": {
            "name": "depth",
            "description": "0 checks only the supplied directories.",
            "isOptional": false
          }
        },
        {
          "names": [
            "--no-entry-check"
          ],
          "description": "Faster on slow filesystems."
        },
        {
          "names": [
            "--ignore-from"
          ],
          "description": "gitignore-style patterns whose matches are left out.",
          "args": {
            "name": "ignore_from",
            "description": "gitignore-style patterns whose matches are left out.",
            "isOptional": false,
            "isVariadic": true,
            "template": "filepaths"
          },
          "isRepeatable": true
        }
      ],
      "args": [
        {
          "name": "inputs",
          "description": "Defaults to the current directory.",
          "isOptional": true,
          "isVariadic": true,
          "template": "folders"
        }
      ]
    },
    {
      "name": "flamegraph",
      "description": "Render a flame graph",
      "options": [
        {
          "names": [
            "-o"
          ],
          "description": "Defaults to a temporary file.",
          "args": {
            "name": "output",
            "description": "Defaults to a temporary file.",
            "isOptional": false,
            "template": "filepaths"
          },
          "isDangerous": true
        },
        {
          "names": [
            "--depth"
          ],
          "description": "Depth",
          "args": {
            "name": "depth",
            "isOptional": false
          }
        },
        {
          "names": [
            "--apparent-size"
          ],
          "description": "Show apparent size instead of disk usage."
        },
        {
          "names": [
            "--ignore-from"
          ],
          "description": "gitignore-style patterns whose matches are left out.",
          "args": {
            "name": "ignore_from",
            "description": "gitignore-style patterns whose matches are left out.",
            "isOptional": false,
            "isVariadic": true,
            "template": "filepaths"
          },
          "isRepeatable": true
        }
      ],
      "args": [
        {
          "name": "inputs",
          "description": "Defaults to the current directory.",
          "isOptional": true,
          "isVariadic": true,
          "template": "filepaths"
        }
      ]
    }
  ]
}
