{
  "id": "watson",
  "name": "Watson",
  "homepage": "https://jazzband.github.io/Watson/",
  "description": "A wonderful CLI to track your time!",
  "executables": [
    "watson"
  ],
  "dotfiles": {
    "paths": [
      "[appData]/watson/config"
    ],
    "exclude": [],
    "secret": [],
    "side_effect": false,
    "secret_paths": [
      {
        "file": "[appData]/watson/config",
        "match": {
          "prefix": [
            "token"
          ]
        }
      }
    ]
  },
  "commands": {
    "format": 1,
    "label": "Watson time tracker",
    "description": "Start tracking, check status and read the log. Editing, merging and sync commands are left out.",
    "quality": "ai-draft",
    "base": "fig:watson",
    "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/watson.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "start"
        ],
        "label": "Start tracking",
        "description": "Start monitoring time for a project.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/watson.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "args",
            "label": "Project and tags",
            "description": "Project name followed by +tag entries.",
            "type": "string",
            "position": 0,
            "multiple": true,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "at",
            "label": "Start time",
            "description": "Start frame at this time, (YYYY-MM-DDT)?HH:MM(:SS)?.",
            "type": "string",
            "option": [
              "--at"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "gap",
            "label": "Leave gap after previous frame",
            "type": "boolean",
            "option": [
              "--gap",
              "-g"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "no_gap",
            "label": "No gap after previous frame",
            "type": "boolean",
            "option": [
              "--no-gap",
              "-G"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "confirm_new_project",
            "label": "Confirm new project",
            "type": "boolean",
            "option": [
              "--confirm-new-project",
              "-c"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "confirm_new_tag",
            "label": "Confirm new tag",
            "type": "boolean",
            "option": [
              "--confirm-new-tag",
              "-b"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "start",
            "label": "Start project",
            "fields": [
              "args",
              "at"
            ],
            "required": [
              "args"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "args",
              "at"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "gap",
              "no_gap",
              "confirm_new_project",
              "confirm_new_tag"
            ]
          }
        ]
      },
      {
        "path": [
          "status"
        ],
        "label": "Current status",
        "description": "Show what is being tracked now.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/watson.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "project",
            "label": "Only project",
            "type": "boolean",
            "option": [
              "--project",
              "-p"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "tags",
            "label": "Only tags",
            "type": "boolean",
            "option": [
              "--tags",
              "-t"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "elapsed",
            "label": "Only elapsed time",
            "type": "boolean",
            "option": [
              "--elapsed",
              "-e"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "status",
            "label": "Show status",
            "fields": [
              "project",
              "tags",
              "elapsed"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "project",
              "tags",
              "elapsed"
            ]
          }
        ]
      },
      {
        "path": [
          "log"
        ],
        "label": "Show log",
        "description": "Display recorded frames for a timespan.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/watson.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "day",
            "label": "Current day",
            "type": "boolean",
            "option": [
              "--day",
              "-d"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "week",
            "label": "Current week",
            "type": "boolean",
            "option": [
              "--week",
              "-w"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "month",
            "label": "Current month",
            "type": "boolean",
            "option": [
              "--month",
              "-m"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "year",
            "label": "Current year",
            "type": "boolean",
            "option": [
              "--year",
              "-y"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "all",
            "label": "All activity",
            "type": "boolean",
            "option": [
              "--all",
              "-a"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "from",
            "label": "From date",
            "type": "string",
            "option": [
              "--from",
              "-f"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "to",
            "label": "To date",
            "type": "string",
            "option": [
              "--to",
              "-t"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "project",
            "label": "Project filter",
            "type": "string",
            "option": [
              "--project",
              "-p"
            ],
            "multiple": true,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "tag",
            "label": "Tag filter",
            "type": "string",
            "option": [
              "--tag",
              "-T"
            ],
            "multiple": true,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "current",
            "label": "Include running frame",
            "type": "boolean",
            "option": [
              "--current",
              "-c"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "reverse",
            "label": "Reverse day order",
            "type": "boolean",
            "option": [
              "--reverse",
              "-r"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "json",
            "label": "JSON output",
            "type": "boolean",
            "option": [
              "--json",
              "-j"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "csv",
            "label": "CSV output",
            "type": "boolean",
            "option": [
              "--csv",
              "-s"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "week",
            "label": "This week",
            "fields": [
              "week",
              "project"
            ],
            "set": {
              "week": [
                true
              ]
            }
          },
          {
            "id": "day",
            "label": "Today",
            "fields": [
              "day"
            ],
            "set": {
              "day": [
                true
              ]
            }
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "day",
              "week",
              "month",
              "project"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "from",
              "to",
              "current",
              "reverse",
              "json",
              "csv",
              "tag",
              "year",
              "all"
            ]
          }
        ]
      }
    ]
  }
}
