{
  "id": "valet",
  "name": "Laravel Valet",
  "homepage": "https://laravel.com/docs/valet",
  "description": "Laravel Valet is a development environment for macOS minimalists.",
  "icon": "SimpleIcons:laravel",
  "executables": [
    "valet"
  ],
  "platforms": [
    "macos"
  ],
  "dotfiles": {
    "paths": [
      "~/.config/valet/config.json",
      "~/.config/valet/Drivers/"
    ],
    "secret": [
      "~/.config/valet/Certificates/"
    ],
    "machine_lines": [
      {
        "file": "~/.config/valet/config.json",
        "match": {
          "key_path": [
            "paths",
            "default"
          ]
        },
        "scope": "backup"
      }
    ]
  },
  "commands": {
    "format": 1,
    "label": "Laravel Valet",
    "description": "Local Laravel development environment (macOS). Forms cover link, park and secure.",
    "quality": "ai-draft",
    "base": "fig:valet",
    "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/valet.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "link"
        ],
        "label": "Link site",
        "description": "Link the current directory as a site.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/valet.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "name",
            "label": "Site name",
            "description": "Defaults to the directory name.",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "secure",
            "label": "Secure (TLS)",
            "type": "boolean",
            "option": [
              "--secure"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "isolate",
            "label": "Isolate PHP version",
            "type": "boolean",
            "option": [
              "--isolate"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "link",
            "label": "Link",
            "fields": [
              "name",
              "secure"
            ],
            "required": []
          },
          {
            "id": "link-secure",
            "label": "Link with TLS",
            "set": {
              "secure": [
                true
              ]
            },
            "fields": [
              "name",
              "secure"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "name",
              "secure",
              "isolate"
            ]
          }
        ]
      },
      {
        "path": [
          "park"
        ],
        "label": "Park directory",
        "description": "Register a directory whose subfolders become sites.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/valet.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "path",
            "label": "Directory",
            "type": "path",
            "position": 0,
            "path": {
              "kind": "directory",
              "role": "input"
            },
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "park",
            "label": "Park",
            "fields": [
              "path"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "path"
            ]
          }
        ]
      },
      {
        "path": [
          "secure"
        ],
        "label": "Secure domain",
        "description": "Issue a trusted TLS certificate for a site.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/valet.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "domain",
            "label": "Domain",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "secure",
            "label": "Secure",
            "fields": [
              "domain"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "domain"
            ]
          }
        ]
      }
    ]
  }
}
