{
  "id": "expo",
  "name": "Expo CLI",
  "homepage": "https://docs.expo.dev/more/expo-cli/",
  "description": "An open-source framework for making universal native apps with React.",
  "icon": "SimpleIcons:expo",
  "executables": [
    "expo",
    "expo-cli"
  ],
  "dotfiles": {
    "paths": [
      "~/.expo/state.json"
    ],
    "exclude": [],
    "secret": [],
    "secret_paths": [
      {
        "file": "~/.expo/state.json",
        "match": {
          "key_path": [
            "auth.sessionSecret"
          ]
        }
      }
    ],
    "machine_lines": [
      {
        "file": "~/.expo/state.json",
        "match": {
          "key_path": [
            "uuid",
            "developmentCodeSigningId",
            "PATH"
          ]
        }
      }
    ]
  },
  "commands": {
    "format": 1,
    "label": "Expo",
    "description": "Start the dev server, prebuild native projects, export and install packages. Boolean-valued flags are given as true/false.",
    "quality": "ai-draft",
    "base": "fig:expo",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/expo.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "start"
        ],
        "label": "Start dev server",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/expo.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "path",
            "label": "Project",
            "type": "path",
            "position": 0,
            "path": {
              "kind": "directory",
              "role": "input"
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "port",
            "label": "Port",
            "type": "integer",
            "option": [
              "--port",
              "-p"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "host",
            "label": "Host mode",
            "type": "string",
            "option": [
              "--host",
              "-m"
            ],
            "suggestions": [
              {
                "value": "lan",
                "label": "lan"
              },
              {
                "value": "tunnel",
                "label": "tunnel"
              },
              {
                "value": "localhost",
                "label": "localhost"
              }
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "clear",
            "label": "Clear Metro cache",
            "type": "string",
            "option": [
              "--clear",
              "-c"
            ],
            "suggestions": [
              {
                "value": "true",
                "label": "true"
              },
              {
                "value": "false",
                "label": "false"
              }
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "dev_client",
            "label": "Dev client",
            "type": "string",
            "option": [
              "--dev-client"
            ],
            "suggestions": [
              {
                "value": "true",
                "label": "true"
              },
              {
                "value": "false",
                "label": "false"
              }
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "scheme",
            "label": "URI scheme",
            "type": "string",
            "option": [
              "--scheme"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "offline",
            "label": "Offline",
            "type": "string",
            "option": [
              "--offline"
            ],
            "suggestions": [
              {
                "value": "true",
                "label": "true"
              },
              {
                "value": "false",
                "label": "false"
              }
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "start",
            "label": "Start",
            "fields": [
              "path",
              "port",
              "host"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "path",
              "port",
              "host",
              "clear"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "scheme",
              "offline",
              "dev_client"
            ]
          }
        ]
      },
      {
        "path": [
          "prebuild"
        ],
        "label": "Generate native projects",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/expo.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "path",
            "label": "Project",
            "type": "path",
            "position": 0,
            "path": {
              "kind": "directory",
              "role": "input"
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "platform",
            "label": "Platform",
            "type": "string",
            "option": [
              "--platform",
              "-p"
            ],
            "suggestions": [
              {
                "value": "all",
                "label": "all"
              },
              {
                "value": "android",
                "label": "android"
              },
              {
                "value": "ios",
                "label": "ios"
              }
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "clean",
            "label": "Regenerate from scratch",
            "type": "string",
            "option": [
              "--clean"
            ],
            "effect": "delete",
            "suggestions": [
              {
                "value": "true",
                "label": "true"
              },
              {
                "value": "false",
                "label": "false"
              }
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "no_install",
            "label": "Skip install",
            "type": "string",
            "option": [
              "--no-install"
            ],
            "suggestions": [
              {
                "value": "true",
                "label": "true"
              },
              {
                "value": "false",
                "label": "false"
              }
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "template",
            "label": "Template",
            "type": "string",
            "option": [
              "--template"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "prebuild",
            "label": "Prebuild",
            "fields": [
              "path",
              "platform"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "path",
              "platform",
              "clean"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "template",
              "no_install"
            ]
          }
        ]
      },
      {
        "path": [
          "export"
        ],
        "label": "Export static files",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/expo.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "path",
            "label": "Project",
            "type": "path",
            "position": 0,
            "path": {
              "kind": "directory",
              "role": "input"
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "public_url",
            "label": "Public URL",
            "type": "string",
            "option": [
              "--public-url",
              "-p"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "platform",
            "label": "Platform",
            "type": "string",
            "option": [
              "--platform"
            ],
            "suggestions": [
              {
                "value": "all",
                "label": "all"
              },
              {
                "value": "android",
                "label": "android"
              },
              {
                "value": "ios",
                "label": "ios"
              }
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "output_dir",
            "label": "Output directory",
            "type": "path",
            "option": [
              "--output-dir"
            ],
            "path": {
              "kind": "directory",
              "role": "output"
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "target",
            "label": "Target",
            "type": "string",
            "option": [
              "--target",
              "-t"
            ],
            "suggestions": [
              {
                "value": "managed",
                "label": "managed"
              },
              {
                "value": "bare",
                "label": "bare"
              }
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "clear",
            "label": "Clear Metro cache",
            "type": "string",
            "option": [
              "--clear",
              "-c"
            ],
            "suggestions": [
              {
                "value": "true",
                "label": "true"
              },
              {
                "value": "false",
                "label": "false"
              }
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "export",
            "label": "Export",
            "fields": [
              "path",
              "public_url",
              "platform",
              "output_dir"
            ],
            "required": [
              "public_url"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "path",
              "public_url",
              "platform",
              "output_dir"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "target",
              "clear"
            ]
          }
        ]
      },
      {
        "path": [
          "install"
        ],
        "label": "Install packages",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/expo.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "packages",
            "label": "Packages",
            "type": "string",
            "position": 0,
            "multiple": true,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "npm",
            "label": "Use npm",
            "type": "string",
            "option": [
              "--npm"
            ],
            "suggestions": [
              {
                "value": "true",
                "label": "true"
              },
              {
                "value": "false",
                "label": "false"
              }
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "yarn",
            "label": "Use Yarn",
            "type": "string",
            "option": [
              "--yarn"
            ],
            "suggestions": [
              {
                "value": "true",
                "label": "true"
              },
              {
                "value": "false",
                "label": "false"
              }
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "install",
            "label": "Install",
            "fields": [
              "packages"
            ],
            "required": [
              "packages"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "packages",
              "npm",
              "yarn"
            ]
          }
        ]
      }
    ]
  }
}
