{
  "id": "pnpm",
  "name": "pnpm",
  "homepage": "https://pnpm.io",
  "description": "Fast, disk space efficient package manager.",
  "icon": "theSVG:pnpm",
  "executables": [
    "pnpm",
    "pnpx"
  ],
  "dotfiles": {
    "paths": [
      "~/.config/pnpm/rc",
      "~/Library/Preferences/pnpm/rc",
      "%LOCALAPPDATA%/pnpm/config/rc",
      "~/.config/pnpm/config.yaml",
      "~/Library/Preferences/pnpm/config.yaml",
      "%LOCALAPPDATA%/pnpm/config/config.yaml"
    ],
    "exclude": [
      "~/.local/share/pnpm/store/",
      "~/Library/pnpm/store/",
      "%LOCALAPPDATA%/pnpm/store/"
    ],
    "secret": [],
    "secret_paths": [
      {
        "file": [
          "~/.config/pnpm/rc",
          "~/Library/Preferences/pnpm/rc",
          "%LOCALAPPDATA%/pnpm/config/rc"
        ],
        "match": {
          "prefix": [
            "//"
          ]
        }
      }
    ],
    "machine_lines": [
      {
        "file": [
          "~/.config/pnpm/rc",
          "~/Library/Preferences/pnpm/rc",
          "%LOCALAPPDATA%/pnpm/config/rc"
        ],
        "match": {
          "prefix": [
            "store-dir",
            "global-bin-dir"
          ]
        },
        "scope": "backup"
      }
    ]
  },
  "commands": {
    "format": 1,
    "label": "pnpm",
    "description": "Add, remove, update dependencies and run scripts. Install flags such as --frozen-lockfile are not in the completion data and are left out.",
    "quality": "ai-draft",
    "base": "fig:pnpm",
    "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/pnpm.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "add"
        ],
        "label": "Add packages",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/pnpm.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "packages",
            "label": "Packages",
            "type": "string",
            "position": 0,
            "multiple": true,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "save_dev",
            "label": "As devDependency",
            "type": "boolean",
            "option": [
              "--save-dev",
              "-D"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "save_prod",
            "label": "As dependency",
            "type": "boolean",
            "option": [
              "--save-prod",
              "-P"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "save_optional",
            "label": "As optionalDependency",
            "type": "boolean",
            "option": [
              "--save-optional",
              "-O"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "save_exact",
            "label": "Exact version",
            "type": "boolean",
            "option": [
              "--save-exact",
              "-E"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "global",
            "label": "Install globally",
            "type": "boolean",
            "option": [
              "--global",
              "-g"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "workspace",
            "label": "Workspace packages only",
            "type": "boolean",
            "option": [
              "--workspace"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "filter",
            "label": "Filter",
            "type": "string",
            "option": [
              "--filter"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "ignore_scripts",
            "label": "Skip scripts",
            "type": "boolean",
            "option": [
              "--ignore-scripts"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "offline",
            "label": "Offline",
            "type": "boolean",
            "option": [
              "--offline"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "add",
            "label": "Add dependency",
            "fields": [
              "packages",
              "save_dev",
              "save_prod",
              "save_optional",
              "save_exact",
              "global",
              "workspace",
              "filter",
              "ignore_scripts",
              "offline"
            ],
            "required": [
              "packages"
            ]
          },
          {
            "id": "add-dev",
            "label": "Add dev dependency",
            "set": {
              "save_dev": [
                true
              ]
            },
            "fields": [
              "packages",
              "save_dev",
              "save_exact"
            ],
            "required": [
              "packages"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "packages",
              "save_dev",
              "save_prod",
              "save_optional",
              "save_exact"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "global",
              "workspace",
              "filter",
              "ignore_scripts",
              "offline"
            ]
          }
        ]
      },
      {
        "path": [
          "remove"
        ],
        "label": "Remove packages",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/pnpm.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "packages",
            "label": "Packages",
            "type": "string",
            "position": 0,
            "multiple": true,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "recursive",
            "label": "In every workspace package",
            "type": "boolean",
            "option": [
              "--recursive",
              "-r"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "global",
            "label": "Global package",
            "type": "boolean",
            "option": [
              "--global"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "save_dev",
            "label": "From devDependencies",
            "type": "boolean",
            "option": [
              "--save-dev",
              "-D"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "filter",
            "label": "Filter",
            "type": "string",
            "option": [
              "--filter"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "remove",
            "label": "Remove",
            "fields": [
              "packages",
              "recursive",
              "global",
              "save_dev",
              "filter"
            ],
            "required": [
              "packages"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "packages",
              "recursive",
              "global",
              "save_dev",
              "filter"
            ]
          }
        ]
      },
      {
        "path": [
          "update"
        ],
        "label": "Update packages",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/pnpm.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "packages",
            "label": "Packages (empty = all)",
            "type": "string",
            "position": 0,
            "multiple": true,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "latest",
            "label": "Ignore version ranges",
            "type": "boolean",
            "option": [
              "--latest",
              "-L"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "interactive",
            "label": "Pick interactively",
            "type": "boolean",
            "option": [
              "--interactive",
              "-i"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "recursive",
            "label": "In every workspace package",
            "type": "boolean",
            "option": [
              "--recursive",
              "-r"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "global",
            "label": "Global packages",
            "type": "boolean",
            "option": [
              "--global"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "filter",
            "label": "Filter",
            "type": "string",
            "option": [
              "--filter"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "update",
            "label": "Update all",
            "fields": [
              "packages",
              "latest",
              "interactive",
              "recursive",
              "global",
              "filter"
            ],
            "required": []
          },
          {
            "id": "latest",
            "label": "Interactive latest",
            "set": {
              "latest": [
                true
              ],
              "interactive": [
                true
              ]
            },
            "fields": [
              "latest",
              "interactive"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "packages",
              "latest",
              "interactive",
              "recursive",
              "global"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "filter"
            ]
          }
        ]
      },
      {
        "path": [
          "run"
        ],
        "label": "Run a script",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/pnpm.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "script",
            "label": "Script and arguments",
            "type": "string",
            "position": 0,
            "multiple": true,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "recursive",
            "label": "In every workspace package",
            "type": "boolean",
            "option": [
              "--recursive",
              "-r"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "if_present",
            "label": "Skip if undefined",
            "type": "boolean",
            "option": [
              "--if-present"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "parallel",
            "label": "Run in parallel",
            "type": "boolean",
            "option": [
              "--parallel"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "stream",
            "label": "Stream output",
            "type": "boolean",
            "option": [
              "--stream"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "filter",
            "label": "Filter",
            "type": "string",
            "option": [
              "--filter"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "run",
            "label": "Run script",
            "fields": [
              "script",
              "recursive",
              "if_present",
              "parallel",
              "stream",
              "filter"
            ],
            "required": [
              "script"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "script",
              "recursive",
              "if_present",
              "parallel",
              "stream"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "filter"
            ]
          }
        ]
      }
    ]
  }
}
