{
  "description": "Run a .wasm or .wat file, optionally calling one export. Wasmtime flags must precede the file; program arguments follow it. The -O/-C/-D/-W/-S tuning options are left out.",
  "options": [
    {
      "names": [
        "--dir"
      ],
      "description": "Directory to expose to the program",
      "args": {
        "name": "dir",
        "isOptional": false,
        "isVariadic": true,
        "template": "folders"
      },
      "isRepeatable": true
    },
    {
      "names": [
        "--invoke"
      ],
      "description": "Export to invoke instead of the main entry",
      "args": {
        "name": "invoke",
        "isOptional": false
      }
    }
  ],
  "args": [
    {
      "name": "module",
      "isOptional": true,
      "template": "filepaths"
    },
    {
      "name": "args",
      "isOptional": true,
      "isVariadic": true
    }
  ],
  "name": "wasmtime"
}
