{
  "id": "twilio",
  "name": "Twilio CLI",
  "homepage": "https://www.twilio.com/docs/twilio-cli",
  "description": "Unleash the power of Twilio from your command prompt.",
  "icon": "theSVG:twilio",
  "executables": [
    "twilio"
  ],
  "dotfiles": {
    "paths": [
      "~/.twilio-cli/config.json",
      "~/.config/twilio-cli/config.json"
    ],
    "exclude": [],
    "secret": [],
    "secret_paths": [
      {
        "file": [
          "~/.twilio-cli/config.json",
          "~/.config/twilio-cli/config.json"
        ],
        "match": {
          "key_path": [
            "profiles.*.apiKey",
            "profiles.*.apiSecret"
          ]
        }
      }
    ]
  },
  "commands": {
    "format": 1,
    "label": "Twilio CLI",
    "description": "Twilio command line. Forms cover phone-numbers:list and email:send.",
    "quality": "ai-draft",
    "base": "fig:twilio",
    "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/twilio.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "phone-numbers:list"
        ],
        "label": "List phone numbers",
        "description": "Show the phone numbers on the account.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/twilio.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "output",
            "label": "Output format",
            "type": "enum",
            "option": [
              "-o"
            ],
            "choices": [
              {
                "value": "columns",
                "label": "columns"
              },
              {
                "value": "json",
                "label": "json"
              },
              {
                "value": "tsv",
                "label": "tsv"
              },
              {
                "value": "none",
                "label": "none"
              }
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "silent",
            "label": "Silent",
            "type": "boolean",
            "option": [
              "--silent"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "no_header",
            "label": "No header",
            "type": "boolean",
            "option": [
              "--no-header"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "properties",
            "label": "Properties",
            "type": "string",
            "option": [
              "--properties"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "account_sid",
            "label": "Account SID",
            "type": "string",
            "option": [
              "--account-sid"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "list",
            "label": "List",
            "fields": [
              "output",
              "properties"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "output",
              "properties"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "silent",
              "no_header",
              "account_sid"
            ]
          }
        ]
      },
      {
        "path": [
          "email:send"
        ],
        "label": "Send email",
        "description": "Send an email to one or more recipients.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/twilio.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "from",
            "label": "From",
            "type": "string",
            "option": [
              "--from"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "to",
            "label": "To",
            "description": "Comma-separated recipients.",
            "type": "string",
            "option": [
              "--to"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "subject",
            "label": "Subject",
            "type": "string",
            "option": [
              "--subject"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "text",
            "label": "Body text",
            "type": "string",
            "option": [
              "--text"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "attachment",
            "label": "Attachment",
            "type": "path",
            "option": [
              "--attachment"
            ],
            "path": {
              "kind": "file",
              "role": "input"
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "no_attachment",
            "label": "No attachment",
            "type": "boolean",
            "option": [
              "--no-attachment"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "send",
            "label": "Send",
            "fields": [
              "from",
              "to",
              "subject",
              "text"
            ],
            "required": [
              "from",
              "to"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "from",
              "to",
              "subject",
              "text"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "attachment",
              "no_attachment"
            ]
          }
        ]
      }
    ]
  }
}
