{
  "description": "Send a push notification to a topic. Subscribing, actions, attachments, authentication and templates are left out.",
  "name": "ntfy",
  "subcommands": [
    {
      "name": "publish",
      "description": "Publish a message to a topic (aliases: pub, send, trigger).",
      "options": [
        {
          "names": [
            "--title"
          ],
          "description": "Title",
          "args": {
            "name": "title",
            "isOptional": false
          }
        },
        {
          "names": [
            "--priority"
          ],
          "description": "Priority",
          "args": {
            "name": "priority",
            "isOptional": false,
            "suggestions": [
              {
                "name": "min",
                "description": "min"
              },
              {
                "name": "low",
                "description": "low"
              },
              {
                "name": "default",
                "description": "default"
              },
              {
                "name": "high",
                "description": "high"
              },
              {
                "name": "urgent",
                "description": "urgent"
              }
            ]
          }
        },
        {
          "names": [
            "--tags"
          ],
          "description": "Comma-separated tags or emoji short codes.",
          "args": {
            "name": "tags",
            "description": "Comma-separated tags or emoji short codes.",
            "isOptional": false
          }
        },
        {
          "names": [
            "--click"
          ],
          "description": "Click URL",
          "args": {
            "name": "click",
            "isOptional": false
          }
        },
        {
          "names": [
            "--icon"
          ],
          "description": "Icon URL",
          "args": {
            "name": "icon",
            "isOptional": false
          }
        },
        {
          "names": [
            "--markdown"
          ],
          "description": "Markdown message"
        },
        {
          "names": [
            "--at"
          ],
          "description": "Example: tomorrow, 10am",
          "args": {
            "name": "at",
            "description": "Example: tomorrow, 10am",
            "isOptional": false
          },
          "separator": "="
        },
        {
          "names": [
            "--in"
          ],
          "description": "Example: 5m, 2h",
          "args": {
            "name": "delay",
            "description": "Example: 5m, 2h",
            "isOptional": false
          },
          "separator": "="
        }
      ],
      "args": [
        {
          "name": "topic",
          "description": "Topic name, or a full topic URL.",
          "isOptional": true
        },
        {
          "name": "message",
          "isOptional": true
        }
      ]
    }
  ]
}
