{
  "id": "watchman",
  "name": "Watchman",
  "homepage": "https://facebook.github.io/watchman/",
  "description": "A file watching service.",
  "icon": "https://facebook.github.io/watchman/img/logo.png",
  "executables": [
    "watchman"
  ],
  "dotfiles": {
    "paths": [
      "~/.watchmanconfig"
    ],
    "secret": []
  },
  "commands": {
    "format": 1,
    "label": "Watchman",
    "description": "Start watching a project or list files under a watched directory. Queries, triggers and subscriptions need JSON and are left out.",
    "quality": "ai-draft",
    "base": "fig:watchman",
    "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/watchman.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "watch-project"
        ],
        "label": "Watch a project",
        "description": "Ask the server to watch the project containing a directory.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/watchman.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "path",
            "label": "Directory",
            "description": "Directory to watch; its project root is found automatically.",
            "type": "path",
            "position": 0,
            "path": {
              "kind": "directory",
              "role": "input"
            },
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "watch",
            "label": "Watch directory",
            "fields": [
              "path"
            ],
            "required": [
              "path"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "path"
            ]
          }
        ]
      },
      {
        "path": [
          "find"
        ],
        "label": "Find files",
        "description": "List files under a watched directory.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/watchman.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "path",
            "label": "Directory and patterns",
            "description": "Directory first, then optional file patterns.",
            "type": "string",
            "position": 0,
            "multiple": true,
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "find",
            "label": "Find files",
            "fields": [
              "path"
            ],
            "required": [
              "path"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "path"
            ]
          }
        ]
      }
    ]
  }
}
