id = "ampx" name = "Amplify Gen 2 CLI" description = "CLI for AWS Amplify Gen 2." homepage = "https://docs.amplify.aws" executables = ["ampx"] [commands] format = 1 label = "Amplify Gen 2" description = "Deploy to a personal cloud sandbox. Other subcommands are left out." quality = "ai-draft" base = "fig:ampx" 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/ampx.ts" license = "MIT" [[commands.field]] id = "profile" label = "AWS profile" type = "string" option = ["--profile"] sources = ["fig"] [[commands.group]] id = "basic" label = "Basic" fields = ["profile"] [[commands.subcommand]] path = ["sandbox"] label = "Cloud sandbox" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/ampx.ts" license = "MIT" [[commands.subcommand.field]] id = "identifier" label = "Sandbox identifier" type = "string" option = ["--identifier"] sources = ["fig"] [[commands.subcommand.field]] id = "dir_to_watch" label = "Directory to watch" type = "path" option = ["--dir-to-watch"] path = { kind = "directory", role = "input" } sources = ["fig"] [[commands.subcommand.field]] id = "exclude" label = "Exclude patterns" type = "string" option = ["--exclude"] multiple = true sources = ["fig"] [[commands.subcommand.field]] id = "outputs_out_dir" label = "Client config directory" type = "path" option = ["--outputs-out-dir"] path = { kind = "directory", role = "output", must_exist = false } sources = ["fig"] [[commands.subcommand.field]] id = "outputs_format" label = "Client config format" type = "string" option = ["--outputs-format"] suggestions = [{ value = "json", label = "JSON" }, { value = "dart", label = "Dart" }] sources = ["fig"] [[commands.subcommand.field]] id = "profile" label = "AWS profile" type = "string" option = ["--profile"] sources = ["fig"] [[commands.subcommand.task]] id = "sandbox" label = "Start sandbox" fields = ["identifier", "profile"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["identifier", "profile", "dir_to_watch", "exclude", "outputs_out_dir", "outputs_format"]