{
  "id": "cal",
  "name": "cal",
  "description": "Display a calendar and the date of Easter.",
  "executables": [
    "cal"
  ],
  "commands": {
    "format": 1,
    "label": "Show calendar",
    "description": "Print a month or a whole year. Month names or numbers are accepted by -m.",
    "quality": "ai-draft",
    "base": "fig:cal",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": true
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/cal.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "year",
        "label": "Year",
        "type": "integer",
        "position": 0,
        "sources": [
          "fig"
        ]
      },
      {
        "id": "month",
        "label": "Month",
        "description": "A month name or a number.",
        "type": "string",
        "option": [
          "-m"
        ],
        "suggestions": [
          {
            "value": "january",
            "label": "January"
          },
          {
            "value": "february",
            "label": "February"
          },
          {
            "value": "march",
            "label": "March"
          },
          {
            "value": "april",
            "label": "April"
          },
          {
            "value": "may",
            "label": "May"
          },
          {
            "value": "june",
            "label": "June"
          },
          {
            "value": "july",
            "label": "July"
          },
          {
            "value": "august",
            "label": "August"
          },
          {
            "value": "september",
            "label": "September"
          },
          {
            "value": "october",
            "label": "October"
          },
          {
            "value": "november",
            "label": "November"
          },
          {
            "value": "december",
            "label": "December"
          }
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "whole_year",
        "label": "Whole year",
        "description": "Display a calendar for the specified year.",
        "type": "boolean",
        "option": [
          "-y"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "julian",
        "label": "Julian days",
        "description": "Number days from January 1.",
        "type": "boolean",
        "option": [
          "-j"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "no_highlight",
        "label": "No highlight of today",
        "type": "boolean",
        "option": [
          "-h"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "year",
        "label": "Whole year",
        "fields": [
          "year",
          "whole_year"
        ],
        "required": [
          "year"
        ],
        "set": {
          "whole_year": [
            true
          ]
        }
      },
      {
        "id": "month",
        "label": "One month",
        "fields": [
          "month",
          "year"
        ],
        "required": [
          "month"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "year",
          "month",
          "whole_year"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "julian",
          "no_highlight"
        ]
      }
    ]
  }
}
