{
  "name": "twiggy",
  "description": "A code-size profiler for WebAssembly",
  "subcommands": [
    {
      "name": "diff",
      "description": "Diff the old and new versions of a binary to see what sizes changed"
    },
    {
      "name": "dominators",
      "description": "Compute and display the dominator tree for a binary's call graph"
    },
    {
      "name": "garbage",
      "description": "Find and display code and data that is not transitively referenced by any exports or public functions"
    },
    {
      "name": "help",
      "description": "Prints this message or the help of the given subcommand(s)",
      "args": [
        {
          "name": "subcommand"
        }
      ]
    },
    {
      "name": "monos",
      "description": "List the generic function monomorphizations that are contributing to code bloat"
    },
    {
      "name": "paths",
      "description": "Find and display the call paths to a function in the given binary's call graph"
    },
    {
      "name": "top",
      "description": "List the top code size offenders in a binary"
    }
  ],
  "options": [
    {
      "names": [
        "--help",
        "-h"
      ],
      "description": "Prints help information"
    },
    {
      "names": [
        "--version",
        "-v"
      ],
      "description": "Prints version information"
    }
  ]
}
