{
  "id": "yalc",
  "name": "yalc",
  "description": "Works with npm/yarn packages locally via a store.",
  "executables": [
    "yalc"
  ],
  "commands": {
    "format": 1,
    "label": "Local package workflow",
    "description": "Publish, push, add and remove local packages.",
    "quality": "ai-draft",
    "base": "fig:yalc",
    "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/yalc.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "publish"
        ],
        "label": "Publish to local store",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/yalc.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "push",
            "label": "Push to installations",
            "type": "boolean",
            "option": [
              "--push"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "no_scripts",
            "label": "Skip scripts",
            "type": "boolean",
            "option": [
              "--no-scripts"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "content",
            "label": "Show published files",
            "type": "boolean",
            "option": [
              "--content"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "private",
            "label": "Force private package",
            "type": "boolean",
            "option": [
              "--private"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "publish",
            "label": "Publish",
            "fields": [
              "no_scripts",
              "private"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "push",
              "no_scripts",
              "content",
              "private"
            ]
          }
        ]
      },
      {
        "path": [
          "add"
        ],
        "label": "Add package to project",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/yalc.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "package",
            "label": "Package",
            "type": "string",
            "position": 0,
            "multiple": true,
            "min": 1,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "dev",
            "label": "Dev dependency",
            "type": "boolean",
            "option": [
              "--dev"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "link",
            "label": "link: dependency",
            "type": "boolean",
            "option": [
              "--link"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "pure",
            "label": "Do not touch package.json",
            "type": "boolean",
            "option": [
              "--pure"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "add",
            "label": "Add package",
            "fields": [
              "package",
              "dev"
            ],
            "required": [
              "package"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "package",
              "dev",
              "link",
              "pure"
            ]
          }
        ]
      },
      {
        "path": [
          "remove"
        ],
        "label": "Remove package",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/yalc.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "package",
            "label": "Package",
            "type": "string",
            "position": 0,
            "multiple": true,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "all",
            "label": "Remove all packages",
            "type": "boolean",
            "option": [
              "--all"
            ],
            "effect": "delete",
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "remove",
            "label": "Remove package",
            "fields": [
              "package"
            ],
            "required": [
              "package"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "package",
              "all"
            ]
          }
        ]
      }
    ]
  }
}
