{
  "id": "pulumi",
  "name": "Pulumi",
  "homepage": "https://www.pulumi.com",
  "description": "Pulumi is an open source infrastructure as code tool that lets you use familiar programming languages to build, deploy, and manage cloud infrastructure.",
  "icon": "SimpleIcons:pulumi",
  "executables": [
    "pulumi"
  ],
  "dotfiles": {
    "paths": [],
    "secret": [
      "~/.pulumi/credentials.json"
    ],
    "side_effect": false
  },
  "commands": {
    "format": 1,
    "label": "Pulumi",
    "description": "Use the subcommand tabs for preview, up and destroy. Other commands are left out.",
    "quality": "ai-draft",
    "base": "fig:pulumi",
    "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/pulumi.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "preview"
        ],
        "label": "Preview changes",
        "description": "Show what an update would change without applying it.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/pulumi.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "stack",
            "label": "Stack",
            "description": "Defaults to the current stack.",
            "type": "string",
            "option": [
              "--stack",
              "-s"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "cwd",
            "label": "Working directory",
            "type": "path",
            "option": [
              "--cwd",
              "-C"
            ],
            "path": {
              "kind": "directory",
              "role": "input",
              "must_exist": true
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "message",
            "label": "Message",
            "type": "string",
            "option": [
              "--message",
              "-m"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "diff",
            "label": "Show rich diff",
            "type": "boolean",
            "option": [
              "--diff"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "non_interactive",
            "label": "Non-interactive",
            "type": "boolean",
            "option": [
              "--non-interactive"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "json",
            "label": "JSON output",
            "type": "boolean",
            "option": [
              "--json",
              "-j"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "target",
            "label": "Target URNs",
            "description": "One resource URN per entry.",
            "type": "string",
            "option": [
              "--target",
              "-t"
            ],
            "multiple": true,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "expect_no_changes",
            "label": "Fail if changes",
            "type": "boolean",
            "option": [
              "--expect-no-changes"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "show_sames",
            "label": "Show unchanged resources",
            "type": "boolean",
            "option": [
              "--show-sames"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "preview",
            "label": "Preview",
            "fields": [
              "stack",
              "diff"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "stack",
              "cwd",
              "diff",
              "json"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "message",
              "non_interactive",
              "target",
              "expect_no_changes",
              "show_sames"
            ]
          }
        ]
      },
      {
        "path": [
          "up"
        ],
        "label": "Deploy",
        "description": "Deploy code and resource changes to the stack.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/pulumi.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "stack",
            "label": "Stack",
            "description": "Defaults to the current stack.",
            "type": "string",
            "option": [
              "--stack",
              "-s"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "cwd",
            "label": "Working directory",
            "type": "path",
            "option": [
              "--cwd",
              "-C"
            ],
            "path": {
              "kind": "directory",
              "role": "input",
              "must_exist": true
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "message",
            "label": "Message",
            "type": "string",
            "option": [
              "--message",
              "-m"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "diff",
            "label": "Show rich diff",
            "type": "boolean",
            "option": [
              "--diff"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "non_interactive",
            "label": "Non-interactive",
            "type": "boolean",
            "option": [
              "--non-interactive"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "json",
            "label": "JSON output",
            "type": "boolean",
            "option": [
              "--json",
              "-j"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "target",
            "label": "Target URNs",
            "description": "One resource URN per entry.",
            "type": "string",
            "option": [
              "--target",
              "-t"
            ],
            "multiple": true,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "yes",
            "label": "Skip confirmation",
            "description": "Proceeds without asking.",
            "type": "boolean",
            "option": [
              "--yes",
              "-y"
            ],
            "effect": "exec",
            "sources": [
              "fig"
            ]
          },
          {
            "id": "skip_preview",
            "label": "Skip preview",
            "type": "boolean",
            "option": [
              "--skip-preview",
              "-f"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "expect_no_changes",
            "label": "Fail if changes",
            "type": "boolean",
            "option": [
              "--expect-no-changes"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "up",
            "label": "Deploy",
            "fields": [
              "stack",
              "diff",
              "message"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "stack",
              "cwd",
              "message",
              "diff"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "non_interactive",
              "json",
              "target",
              "yes",
              "skip_preview",
              "expect_no_changes"
            ]
          }
        ]
      },
      {
        "path": [
          "destroy"
        ],
        "label": "Destroy stack resources",
        "description": "Destroy resources in the stack. Review with preview first.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/pulumi.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "stack",
            "label": "Stack",
            "description": "Defaults to the current stack.",
            "type": "string",
            "option": [
              "--stack",
              "-s"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "cwd",
            "label": "Working directory",
            "type": "path",
            "option": [
              "--cwd",
              "-C"
            ],
            "path": {
              "kind": "directory",
              "role": "input",
              "must_exist": true
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "message",
            "label": "Message",
            "type": "string",
            "option": [
              "--message",
              "-m"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "diff",
            "label": "Show rich diff",
            "type": "boolean",
            "option": [
              "--diff"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "non_interactive",
            "label": "Non-interactive",
            "type": "boolean",
            "option": [
              "--non-interactive"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "json",
            "label": "JSON output",
            "type": "boolean",
            "option": [
              "--json",
              "-j"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "target",
            "label": "Target URNs",
            "description": "One resource URN per entry.",
            "type": "string",
            "option": [
              "--target",
              "-t"
            ],
            "multiple": true,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "yes",
            "label": "Skip confirmation",
            "description": "Destroys without asking.",
            "type": "boolean",
            "option": [
              "--yes",
              "-y"
            ],
            "effect": "delete",
            "sources": [
              "fig"
            ]
          },
          {
            "id": "skip_preview",
            "label": "Skip preview",
            "type": "boolean",
            "option": [
              "--skip-preview",
              "-f"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "exclude_protected",
            "label": "Exclude protected resources",
            "type": "boolean",
            "option": [
              "--exclude-protected"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "destroy",
            "label": "Destroy",
            "fields": [
              "stack",
              "exclude_protected"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "stack",
              "cwd",
              "message",
              "exclude_protected"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "diff",
              "non_interactive",
              "json",
              "target",
              "yes",
              "skip_preview"
            ]
          }
        ]
      }
    ]
  }
}
