{
  "id": "terragrunt",
  "name": "Terragrunt",
  "description": "Thin wrapper for Terraform that provides extra tools for working with multiple modules.",
  "executables": [
    "terragrunt"
  ],
  "commands": {
    "format": 1,
    "label": "Terragrunt",
    "description": "Run init, validate, plan or apply. Stack run-all commands and other subcommands are left out.",
    "quality": "ai-draft",
    "base": "fig:terragrunt",
    "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/terragrunt.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "init"
        ],
        "label": "Initialize",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/terragrunt.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "working_dir",
            "label": "Working directory",
            "type": "path",
            "option": [
              "--terragrunt-working-dir"
            ],
            "path": {
              "kind": "directory",
              "role": "input",
              "must_exist": true
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "config",
            "label": "Terragrunt config",
            "type": "path",
            "option": [
              "--terragrunt-config"
            ],
            "path": {
              "kind": "file",
              "role": "input",
              "must_exist": true
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "non_interactive",
            "label": "Non-interactive",
            "type": "boolean",
            "option": [
              "--terragrunt-non-interactive"
            ],
            "description": "Assume yes for all prompts.",
            "sources": [
              "fig"
            ]
          },
          {
            "id": "no_auto_init",
            "label": "No auto init",
            "type": "boolean",
            "option": [
              "--terragrunt-no-auto-init"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "init",
            "label": "Initialize",
            "fields": [
              "working_dir",
              "config"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "working_dir",
              "config"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "non_interactive",
              "no_auto_init"
            ]
          }
        ]
      },
      {
        "path": [
          "validate"
        ],
        "label": "Validate",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/terragrunt.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "working_dir",
            "label": "Working directory",
            "type": "path",
            "option": [
              "--terragrunt-working-dir"
            ],
            "path": {
              "kind": "directory",
              "role": "input",
              "must_exist": true
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "config",
            "label": "Terragrunt config",
            "type": "path",
            "option": [
              "--terragrunt-config"
            ],
            "path": {
              "kind": "file",
              "role": "input",
              "must_exist": true
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "non_interactive",
            "label": "Non-interactive",
            "type": "boolean",
            "option": [
              "--terragrunt-non-interactive"
            ],
            "description": "Assume yes for all prompts.",
            "sources": [
              "fig"
            ]
          },
          {
            "id": "no_auto_init",
            "label": "No auto init",
            "type": "boolean",
            "option": [
              "--terragrunt-no-auto-init"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "validate",
            "label": "Validate",
            "fields": [
              "working_dir",
              "config"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "working_dir",
              "config"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "non_interactive",
              "no_auto_init"
            ]
          }
        ]
      },
      {
        "path": [
          "plan"
        ],
        "label": "Plan",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/terragrunt.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "working_dir",
            "label": "Working directory",
            "type": "path",
            "option": [
              "--terragrunt-working-dir"
            ],
            "path": {
              "kind": "directory",
              "role": "input",
              "must_exist": true
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "config",
            "label": "Terragrunt config",
            "type": "path",
            "option": [
              "--terragrunt-config"
            ],
            "path": {
              "kind": "file",
              "role": "input",
              "must_exist": true
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "non_interactive",
            "label": "Non-interactive",
            "type": "boolean",
            "option": [
              "--terragrunt-non-interactive"
            ],
            "description": "Assume yes for all prompts.",
            "sources": [
              "fig"
            ]
          },
          {
            "id": "no_auto_init",
            "label": "No auto init",
            "type": "boolean",
            "option": [
              "--terragrunt-no-auto-init"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "var_file",
            "label": "Variable file",
            "type": "path",
            "option": [
              "-var-file"
            ],
            "path": {
              "kind": "file",
              "role": "input",
              "must_exist": true
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "var",
            "label": "Variables",
            "type": "string",
            "option": [
              "-var"
            ],
            "multiple": true,
            "description": "key=value, repeatable.",
            "sources": [
              "fig"
            ]
          },
          {
            "id": "out",
            "label": "Save plan to",
            "type": "path",
            "option": [
              "-out"
            ],
            "path": {
              "kind": "file",
              "role": "output",
              "must_exist": false
            },
            "effect": "overwrite",
            "sources": [
              "fig"
            ]
          },
          {
            "id": "destroy",
            "label": "Plan a destroy",
            "type": "boolean",
            "option": [
              "-destroy"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "detailed_exitcode",
            "label": "Detailed exit code",
            "type": "boolean",
            "option": [
              "-detailed-exitcode"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "plan",
            "label": "Plan changes",
            "fields": [
              "working_dir",
              "var_file",
              "var",
              "out"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "working_dir",
              "var_file",
              "var",
              "out",
              "destroy"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "config",
              "non_interactive",
              "no_auto_init",
              "detailed_exitcode"
            ]
          }
        ]
      },
      {
        "path": [
          "apply"
        ],
        "label": "Apply",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/terragrunt.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "working_dir",
            "label": "Working directory",
            "type": "path",
            "option": [
              "--terragrunt-working-dir"
            ],
            "path": {
              "kind": "directory",
              "role": "input",
              "must_exist": true
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "config",
            "label": "Terragrunt config",
            "type": "path",
            "option": [
              "--terragrunt-config"
            ],
            "path": {
              "kind": "file",
              "role": "input",
              "must_exist": true
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "non_interactive",
            "label": "Non-interactive",
            "type": "boolean",
            "option": [
              "--terragrunt-non-interactive"
            ],
            "description": "Assume yes for all prompts.",
            "sources": [
              "fig"
            ]
          },
          {
            "id": "no_auto_init",
            "label": "No auto init",
            "type": "boolean",
            "option": [
              "--terragrunt-no-auto-init"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "apply",
            "label": "Apply changes",
            "fields": [
              "working_dir"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "working_dir"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "config",
              "non_interactive",
              "no_auto_init"
            ]
          }
        ]
      }
    ]
  }
}
