{
  "id": "clilol",
  "name": "clilol",
  "homepage": "https://clilol.readthedocs.io",
  "description": "A CLI for omg.lol.",
  "executables": [
    "clilol"
  ],
  "dotfiles": {
    "paths": [
      "[appData]/clilol/config.yaml",
      "[appData]/clilol/config.toml",
      "[appData]/clilol/config.json"
    ],
    "exclude": [],
    "secret": [],
    "side_effect": false,
    "secret_paths": [
      {
        "file": "[appData]/clilol/config.yaml",
        "match": {
          "key_path": [
            "apikey"
          ]
        }
      },
      {
        "file": "[appData]/clilol/config.toml",
        "match": {
          "key_path": [
            "apikey"
          ]
        }
      },
      {
        "file": "[appData]/clilol/config.json",
        "match": {
          "key_path": [
            "apikey"
          ]
        }
      }
    ]
  },
  "commands": {
    "format": 1,
    "label": "clilol (omg.lol)",
    "description": "Read and post omg.lol statuses. Other things (pastes, PURLs, weblog, DNS, themes) are left out.",
    "quality": "ai-draft",
    "base": "fig:clilol",
    "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/clilol.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "list",
          "status"
        ],
        "label": "List statuses",
        "description": "List statuses for an address.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/clilol.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "address",
            "label": "Address",
            "description": "Address whose statuses to get.",
            "type": "string",
            "option": [
              "--address",
              "-a"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "limit",
            "label": "Limit",
            "description": "How many statuses to get (default all).",
            "type": "integer",
            "option": [
              "--limit",
              "-l"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "recent",
            "label": "Last 10",
            "set": {
              "limit": [
                10
              ]
            },
            "fields": [
              "address",
              "limit"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "address",
              "limit"
            ]
          }
        ]
      },
      {
        "path": [
          "get",
          "status"
        ],
        "label": "Get a status",
        "description": "Get a single status by ID.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/clilol.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "id",
            "label": "Status ID",
            "description": "ID of the status.",
            "type": "string",
            "position": 0,
            "min": 1,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "address",
            "label": "Address",
            "description": "Address whose status to get.",
            "type": "string",
            "option": [
              "--address",
              "-a"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "get",
            "label": "Get",
            "fields": [
              "id",
              "address"
            ],
            "required": [
              "id"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "id",
              "address"
            ]
          }
        ]
      },
      {
        "path": [
          "create",
          "status"
        ],
        "label": "Post a status",
        "description": "Create a status on your address.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/clilol.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "text",
            "label": "Text",
            "description": "Text of the status.",
            "type": "string",
            "position": 0,
            "min": 1,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "emoji",
            "label": "Emoji",
            "description": "Emoji to add to the status (default sparkles).",
            "type": "string",
            "option": [
              "--emoji",
              "-e"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "skip_mastodon",
            "label": "Skip Mastodon",
            "description": "Do not cross-post to Mastodon.",
            "type": "boolean",
            "option": [
              "--skip-mastodon-post"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "post",
            "label": "Post",
            "fields": [
              "text",
              "emoji",
              "skip_mastodon"
            ],
            "required": [
              "text"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "text",
              "emoji",
              "skip_mastodon"
            ]
          }
        ]
      }
    ]
  }
}
