{
  "description": "Send a message, attachment or synthesized voice message to an active cc-connect session. Starting the service, update and doctor are left out.",
  "name": "cc-connect",
  "subcommands": [
    {
      "name": "send",
      "description": "Send to a session",
      "options": [
        {
          "names": [
            "--message",
            "-m"
          ],
          "description": "Message",
          "args": {
            "name": "message",
            "isOptional": false
          }
        },
        {
          "names": [
            "--project",
            "-p"
          ],
          "description": "Optional if only one project is configured.",
          "args": {
            "name": "project",
            "description": "Optional if only one project is configured.",
            "isOptional": false
          }
        },
        {
          "names": [
            "--session",
            "-s"
          ],
          "description": "Optional; the first active session is used.",
          "args": {
            "name": "session",
            "description": "Optional; the first active session is used.",
            "isOptional": false
          }
        },
        {
          "names": [
            "--image"
          ],
          "description": "Images",
          "args": {
            "name": "image",
            "isOptional": false,
            "isVariadic": true,
            "template": "filepaths"
          },
          "isRepeatable": true
        },
        {
          "names": [
            "--file"
          ],
          "description": "Files",
          "args": {
            "name": "file",
            "isOptional": false,
            "isVariadic": true,
            "template": "filepaths"
          },
          "isRepeatable": true
        },
        {
          "names": [
            "--tts"
          ],
          "description": "Voice message text",
          "args": {
            "name": "tts",
            "isOptional": false
          }
        },
        {
          "names": [
            "--cwd"
          ],
          "description": "Working directory for a new session",
          "args": {
            "name": "cwd",
            "isOptional": false,
            "template": "folders"
          }
        }
      ]
    }
  ]
}
