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] # AWS documents the legacy EB CLI user configuration at this home path on # Linux and macOS (and the same path below the Windows user profile): # https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3-configuration.html # Project .elasticbeanstalk/config.yml is intentionally not included because it # is project-local rather than a user dotfile. 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 } [[commands.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/eb.ts" license = "MIT" [[commands.group]] id = "basic" label = "Basic" fields = [] [[commands.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 } [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/eb.ts" license = "MIT" [[commands.subcommand.field]] id = "name" label = "Application name" type = "string" position = 0 sources = ["fig"] [[commands.subcommand.field]] id = "interactive" label = "Prompt for every option" type = "boolean" option = ["--interactive", "-i"] sources = ["fig"] [[commands.subcommand.field]] id = "keyname" label = "EC2 key pair" type = "string" option = ["--keyname", "-k"] sources = ["fig"] [[commands.subcommand.field]] id = "platform" label = "Platform version" type = "string" option = ["--platform", "-p"] sources = ["fig"] [[commands.subcommand.field]] id = "tags" label = "Tags" description = "Comma-separated key=value list." type = "string" option = ["--tags"] sources = ["fig"] [[commands.subcommand.task]] id = "init" label = "Initialize" fields = ["name", "platform"] required = ["name"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["name", "interactive"] [[commands.subcommand.group]] id = "advanced" label = "Advanced" fields = ["keyname", "platform", "tags"] [[commands.subcommand]] 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 } [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/eb.ts" license = "MIT" [[commands.subcommand.field]] id = "environment" label = "Environment name" description = "Leave blank for the default environment." type = "string" position = 0 sources = ["fig"] [[commands.subcommand.field]] id = "label" label = "Version label" type = "string" option = ["--label", "-l"] sources = ["fig"] [[commands.subcommand.field]] id = "message" label = "Version description" type = "string" option = ["--message", "-m"] sources = ["fig"] [[commands.subcommand.field]] 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"] [[commands.subcommand.field]] id = "timeout" label = "Timeout (minutes)" type = "integer" option = ["--timeout"] sources = ["fig"] [[commands.subcommand.field]] id = "version" label = "Existing version label" description = "Deploy an existing application version." type = "string" option = ["--version"] sources = ["fig"] [[commands.subcommand.task]] id = "deploy" label = "Deploy with a message" fields = ["environment", "label", "message"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["environment", "label", "message"] [[commands.subcommand.group]] id = "advanced" label = "Advanced" fields = ["staged", "timeout", "version"] [[commands.subcommand]] path = ["list"] label = "List environments" description = "List environments." parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false } [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/eb.ts" license = "MIT" [[commands.subcommand.field]] id = "all" label = "All applications" type = "boolean" option = ["--all", "-a"] sources = ["fig"] [[commands.subcommand.field]] id = "verbose" label = "Verbose" type = "boolean" option = ["--verbose", "-v"] sources = ["fig"] [[commands.subcommand.task]] id = "all" label = "List all" fields = ["all"] required = [] set = { all = [true] } [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["all", "verbose"] [[commands.subcommand]] 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 } [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/eb.ts" license = "MIT" [[commands.subcommand.field]] id = "environment" label = "Environment name" description = "Leave blank for the default environment." type = "string" position = 0 sources = ["fig"] [[commands.subcommand.task]] id = "open" label = "Open" fields = ["environment"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["environment"] [[commands.subcommand]] 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 } [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/eb.ts" license = "MIT" [[commands.subcommand.field]] id = "environment" label = "Environment name" description = "Leave blank for the default environment." type = "string" position = 0 sources = ["fig"] [[commands.subcommand.field]] id = "instance" label = "Instance ID" type = "string" option = ["--instance", "-i"] sources = ["fig"] [[commands.subcommand.field]] id = "number" label = "Instance number" type = "string" option = ["--number", "-n"] sources = ["fig"] [[commands.subcommand.field]] 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"] [[commands.subcommand.field]] 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"] [[commands.subcommand.task]] id = "ssh" label = "SSH" fields = ["environment", "instance"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["environment", "instance", "number", "command"] [[commands.subcommand.group]] id = "advanced" label = "Advanced" fields = ["keep_open"] [[commands.subcommand]] 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 } [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/eb.ts" license = "MIT" [[commands.subcommand.field]] id = "environment" label = "Environment name" description = "Environment to use." type = "string" position = 0 sources = ["fig"] [[commands.subcommand.field]] id = "region" label = "Region" type = "string" option = ["--region", "-r"] sources = ["fig"] [[commands.subcommand.task]] id = "use" label = "Use environment" fields = ["environment"] required = ["environment"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["environment", "region"]