{
  "id": "crontab",
  "name": "crontab",
  "description": "Maintain crontab files for individual users.",
  "executables": [
    "crontab"
  ],
  "commands": {
    "format": 1,
    "label": "Manage crontab",
    "description": "List or edit a user's crontab, or remove it. Installing a crontab from a file is left out.",
    "quality": "ai-draft",
    "base": "fig:crontab",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": false,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/crontab.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "list",
        "label": "List the current crontab",
        "type": "boolean",
        "option": [
          "-l"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "edit",
        "label": "Edit the current crontab",
        "type": "boolean",
        "option": [
          "-e"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "remove",
        "label": "Remove the current crontab",
        "type": "boolean",
        "option": [
          "-r"
        ],
        "effect": "delete",
        "sources": [
          "fig"
        ]
      },
      {
        "id": "user",
        "label": "User",
        "type": "string",
        "option": [
          "-u"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "list",
        "label": "List crontab",
        "set": {
          "list": [
            true
          ]
        },
        "lock": [
          "list"
        ],
        "fields": [
          "user"
        ],
        "required": []
      },
      {
        "id": "edit",
        "label": "Edit crontab",
        "set": {
          "edit": [
            true
          ]
        },
        "lock": [
          "edit"
        ],
        "fields": [
          "user"
        ],
        "required": []
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "list",
          "edit",
          "user",
          "remove"
        ]
      }
    ]
  }
}
