{
  "id": "elm-json",
  "name": "elm-json",
  "homepage": "https://github.com/zwilias/elm-json",
  "description": "Install, upgrade and remove Elm dependencies in elm.json.",
  "executables": [
    "elm-json"
  ],
  "commands": {
    "format": 1,
    "label": "elm-json",
    "description": "Manage the dependencies in an elm.json file.",
    "quality": "ai-draft",
    "base": "fig:elm-json",
    "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/elm-json.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "offline",
        "label": "Offline mode",
        "type": "boolean",
        "option": [
          "--offline"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "offline"
        ]
      }
    ],
    "subcommand": [
      {
        "path": [
          "install"
        ],
        "label": "Install a package",
        "description": "Add a package, e.g. elm/core or elm/core@1.0.2. Updates elm.json.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/elm-json.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "package",
            "label": "Package",
            "type": "string",
            "position": 0,
            "multiple": true,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "test",
            "label": "As test dependency",
            "type": "boolean",
            "option": [
              "--test"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "yes",
            "label": "Answer yes to prompts",
            "type": "boolean",
            "option": [
              "--yes"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "install",
            "label": "Install package",
            "fields": [
              "package",
              "test"
            ],
            "required": [
              "package"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "package",
              "test",
              "yes"
            ]
          }
        ]
      },
      {
        "path": [
          "tree"
        ],
        "label": "Dependency tree",
        "description": "List the whole dependency graph as a tree.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/elm-json.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "test",
            "label": "Promote test dependencies",
            "type": "boolean",
            "option": [
              "--test"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "tree",
            "label": "Show tree",
            "fields": [
              "test"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "test"
            ]
          }
        ]
      }
    ]
  }
}
