{
  "id": "aws-elasticbeanstalk",
  "name": "AWS Elastic Beanstalk CLI",
  "homepage": "https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3.html",
  "description": "The EB CLI is a command line interface for AWS Elastic Beanstalk.",
  "executables": [
    "eb"
  ],
  "dotfiles": {
    "paths": [
      "~/.elasticbeanstalk/config"
    ],
    "secret": [],
    "side_effect": false
  },
  "commands": {
    "format": 1,
    "label": "Elastic Beanstalk CLI",
    "description": "Use the subcommand tabs for the common eb jobs: init, deploy, list, open, ssh and use. Create, terminate and configuration commands are left out.",
    "quality": "ai-draft",
    "base": "fig:eb",
    "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/eb.ts",
        "license": "MIT"
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": []
      }
    ],
    "subcommand": [
      {
        "path": [
          "init"
        ],
        "label": "Initialize application",
        "description": "Initialize a new Elastic Beanstalk application in the current directory.",
        "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/eb.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "name",
            "label": "Application name",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "interactive",
            "label": "Prompt for every option",
            "type": "boolean",
            "option": [
              "--interactive",
              "-i"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "keyname",
            "label": "EC2 key pair",
            "type": "string",
            "option": [
              "--keyname",
              "-k"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "platform",
            "label": "Platform version",
            "type": "string",
            "option": [
              "--platform",
              "-p"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "tags",
            "label": "Tags",
            "description": "Comma-separated key=value list.",
            "type": "string",
            "option": [
              "--tags"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "init",
            "label": "Initialize",
            "fields": [
              "name",
              "platform"
            ],
            "required": [
              "name"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "name",
              "interactive"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "keyname",
              "platform",
              "tags"
            ]
          }
        ]
      },
      {
        "path": [
          "deploy"
        ],
        "label": "Deploy",
        "description": "Deploy the application source bundle from the project directory to the running environment.",
        "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/eb.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "environment",
            "label": "Environment name",
            "description": "Leave blank for the default environment.",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "label",
            "label": "Version label",
            "type": "string",
            "option": [
              "--label",
              "-l"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "message",
            "label": "Version description",
            "type": "string",
            "option": [
              "--message",
              "-m"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "staged",
            "label": "Deploy staged files",
            "description": "Deploy files staged in the git index instead of the HEAD commit.",
            "type": "boolean",
            "option": [
              "--staged"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "timeout",
            "label": "Timeout (minutes)",
            "type": "integer",
            "option": [
              "--timeout"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "version",
            "label": "Existing version label",
            "description": "Deploy an existing application version.",
            "type": "string",
            "option": [
              "--version"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "deploy",
            "label": "Deploy with a message",
            "fields": [
              "environment",
              "label",
              "message"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "environment",
              "label",
              "message"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "staged",
              "timeout",
              "version"
            ]
          }
        ]
      },
      {
        "path": [
          "list"
        ],
        "label": "List environments",
        "description": "List environments.",
        "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/eb.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "all",
            "label": "All applications",
            "type": "boolean",
            "option": [
              "--all",
              "-a"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "verbose",
            "label": "Verbose",
            "type": "boolean",
            "option": [
              "--verbose",
              "-v"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "all",
            "label": "List all",
            "fields": [
              "all"
            ],
            "required": [],
            "set": {
              "all": [
                true
              ]
            }
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "all",
              "verbose"
            ]
          }
        ]
      },
      {
        "path": [
          "open"
        ],
        "label": "Open environment URL",
        "description": "Open the environment's public URL in the default browser.",
        "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/eb.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "environment",
            "label": "Environment name",
            "description": "Leave blank for the default environment.",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "open",
            "label": "Open",
            "fields": [
              "environment"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "environment"
            ]
          }
        ]
      },
      {
        "path": [
          "ssh"
        ],
        "label": "SSH to instance",
        "description": "Connect to a Linux EC2 instance in the environment.",
        "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/eb.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "environment",
            "label": "Environment name",
            "description": "Leave blank for the default environment.",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "instance",
            "label": "Instance ID",
            "type": "string",
            "option": [
              "--instance",
              "-i"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "number",
            "label": "Instance number",
            "type": "string",
            "option": [
              "--number",
              "-n"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "command",
            "label": "Run command instead",
            "description": "Execute a shell command on the instance instead of starting a session.",
            "type": "string",
            "option": [
              "--command"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "keep_open",
            "label": "Keep port 22 open",
            "description": "Leave port 22 open on the security group after the session.",
            "type": "boolean",
            "option": [
              "--keep_open",
              "-o"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "ssh",
            "label": "SSH",
            "fields": [
              "environment",
              "instance"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "environment",
              "instance",
              "number",
              "command"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "keep_open"
            ]
          }
        ]
      },
      {
        "path": [
          "use"
        ],
        "label": "Set default environment",
        "description": "Set the specified environment as the default.",
        "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/eb.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "environment",
            "label": "Environment name",
            "description": "Environment to use.",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "region",
            "label": "Region",
            "type": "string",
            "option": [
              "--region",
              "-r"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "use",
            "label": "Use environment",
            "fields": [
              "environment"
            ],
            "required": [
              "environment"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "environment",
              "region"
            ]
          }
        ]
      }
    ]
  }
}
