{
  "name": "arch",
  "description": "Print architecture type or run select architecture",
  "options": [
    {
      "names": [
        "-32"
      ],
      "description": "Add the native 32-bit architecture to the list of architectures"
    },
    {
      "names": [
        "-64"
      ],
      "description": "Add the native 64-bit architecture to the list of architectures"
    },
    {
      "names": [
        "-arch"
      ],
      "takes_arg": true,
      "arg": {
        "name": "arch_name",
        "suggestions": [
          "i386",
          "x86_64",
          "x86_64h",
          "arm64",
          "arm64e"
        ]
      }
    },
    {
      "names": [
        "-i386"
      ],
      "description": "32-bit intel"
    },
    {
      "names": [
        "-x86_64"
      ],
      "description": "64-bit intel"
    },
    {
      "names": [
        "-x86_64h"
      ],
      "description": "64-bit intel (haswell)"
    },
    {
      "names": [
        "-arm64"
      ],
      "description": "64-bit arm"
    },
    {
      "names": [
        "-arm64e"
      ],
      "description": "64-bit arm (Apple Silicon)"
    },
    {
      "names": [
        "-c"
      ],
      "description": "Clear the environment that will be passed to the command"
    },
    {
      "names": [
        "-d"
      ],
      "description": "Delete the named environment variable from the command's environment",
      "takes_arg": true,
      "arg": {
        "name": "envname"
      }
    },
    {
      "names": [
        "-e"
      ],
      "description": "Assign the given value to the variable in the command's environment",
      "takes_arg": true,
      "arg": {
        "name": "envname=value"
      }
    },
    {
      "names": [
        "-h"
      ],
      "description": "Print a help message and exit"
    }
  ],
  "args": [
    {
      "name": "program",
      "is_variadic": true,
      "template": "filepaths"
    }
  ]
}
