{
  "name": "assimp",
  "description": "Open Asset Import Library",
  "subcommands": [
    {
      "name": "listext",
      "description": "List all known file extensions available for import"
    },
    {
      "name": "listexport",
      "description": "List all supported export formats"
    },
    {
      "name": "knowext",
      "description": "List all known file extensions available for import",
      "args": [
        {
          "name": "extension",
          "description": "Check whether a particular file extension is known by us"
        }
      ]
    },
    {
      "name": "exportinfo",
      "description": "Show basic information on a specific export format",
      "args": [
        {
          "name": "extension",
          "description": "Specific file extension"
        }
      ]
    },
    {
      "name": "info",
      "description": "Load a model file and print basic statistics. Full postprocessing is applied unless the `-r` switch is specified",
      "options": [
        {
          "names": [
            "-r",
            "--raw"
          ],
          "description": "No postprocessing, do a raw import"
        },
        {
          "names": [
            "-v",
            "--verbose"
          ],
          "description": "Print verbose info such as node transform data"
        },
        {
          "names": [
            "-s",
            "--silent"
          ],
          "description": "Print only minimal info"
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Detailed help on a command"
        }
      ],
      "args": [
        {
          "name": "file",
          "description": "Print basic structure of a 3D model",
          "is_variadic": true,
          "template": "filepaths"
        }
      ]
    },
    {
      "name": "export",
      "description": "Export a file to one of the supported output formats",
      "options": [
        {
          "names": [
            "-f",
            "--format"
          ],
          "description": "Export file formats supported by Assimp",
          "takes_arg": true,
          "arg": {
            "name": "format"
          }
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Detailed help on a command"
        }
      ],
      "args": [
        {
          "name": "model",
          "description": "Relative or absolute path to the input model",
          "template": "filepaths"
        },
        {
          "name": "out",
          "description": "Relative or absolute path to write the output export to",
          "template": "folders"
        }
      ]
    },
    {
      "name": "extract",
      "description": "Extract embedded texture images",
      "options": [
        {
          "names": [
            "-t",
            "--texture"
          ],
          "description": "Zero-based index of the texture to be extracted",
          "takes_arg": true,
          "arg": {
            "name": "index"
          }
        },
        {
          "names": [
            "-ba",
            "–-bmp-with-alpha"
          ],
          "description": "Specifies whether output BMPs contain an alpha channel or not"
        },
        {
          "names": [
            "-f",
            "--format"
          ],
          "description": "Specifies the output file format. Supported formats are BMP and TGA. The default value is BMP (if a full output filename is specified, the output file format is taken from its extension)",
          "takes_arg": true,
          "arg": {
            "name": "format",
            "suggestions": [
              "bmp",
              "tga"
            ]
          }
        },
        {
          "names": [
            "-s",
            "–-nosuffix"
          ],
          "description": "Prevents the tool from adding the _img<n> suffix to all filenames. This option must be specified together with -t to ensure that just one image is written"
        },
        {
          "names": [
            "-cfast"
          ],
          "description": "Fast post processing preset, runs just a few important steps"
        },
        {
          "names": [
            "-cdefault"
          ],
          "description": "Default post processing: runs all recommended steps"
        },
        {
          "names": [
            "-cfull"
          ],
          "description": "Fires almost all post processing steps"
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Detailed help on a command"
        }
      ],
      "args": [
        {
          "name": "model",
          "description": "Relative or absolute path to the input model",
          "template": "filepaths"
        },
        {
          "name": "out",
          "description": "Relative or absolute path to write the output images to",
          "template": "folders"
        }
      ]
    },
    {
      "name": "dump",
      "description": "Convert models to a binary or textual dump (ASSBIN/ASSXML)",
      "options": [
        {
          "names": [
            "-b",
            "--binary"
          ],
          "description": "If true, the dump is written in binary format"
        },
        {
          "names": [
            "-s",
            "--short"
          ],
          "description": "If true, the dump is shortened to include only min/max values for all vertex components and animation channels"
        },
        {
          "names": [
            "-z",
            "--compressed"
          ],
          "description": "If true, Compressed"
        },
        {
          "names": [
            "-cfast"
          ],
          "description": "Fast post processing preset, runs just a few important steps"
        },
        {
          "names": [
            "-cdefault"
          ],
          "description": "Default post processing: runs all recommended steps"
        },
        {
          "names": [
            "-cfull"
          ],
          "description": "Fires almost all post processing steps"
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Detailed help on a command"
        }
      ],
      "args": [
        {
          "name": "model",
          "description": "Relative or absolute path to the input model",
          "template": "filepaths"
        },
        {
          "name": "out",
          "description": "Relative or absolute path to write the output dump to. If it is omitted, the dump is written to '<model>-dump.txt'",
          "template": "folders"
        }
      ]
    },
    {
      "name": "cmpdump",
      "description": "Compare dumps created using 'assimp dump <file> -s ...'",
      "options": [
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Detailed help on a command"
        }
      ],
      "args": [
        {
          "name": "actual",
          "description": "Mini dump now",
          "template": "filepaths"
        },
        {
          "name": "expected",
          "description": "Archived dump from some point in the past",
          "template": "filepaths"
        }
      ]
    },
    {
      "name": "version",
      "description": "Display Assimp version"
    }
  ],
  "options": [
    {
      "names": [
        "-h",
        "--help"
      ],
      "description": "Display some basic help"
    }
  ]
}
