{
  "description": "Root has no options of its own; use the dump subcommand to export shell history.",
  "name": "mcfly",
  "subcommands": [
    {
      "name": "dump",
      "description": "Write McFly's command history to standard output as JSON or CSV, optionally filtered by time or regex.",
      "options": [
        {
          "names": [
            "--since"
          ],
          "description": "Local time, e.g. 2023-01-01.",
          "args": {
            "name": "since",
            "description": "Local time, e.g. 2023-01-01.",
            "isOptional": false
          }
        },
        {
          "names": [
            "--before"
          ],
          "description": "Before (exclusive)",
          "args": {
            "name": "before",
            "isOptional": false
          }
        },
        {
          "names": [
            "--regex",
            "-r"
          ],
          "description": "Command regex",
          "args": {
            "name": "regex",
            "isOptional": false
          }
        },
        {
          "names": [
            "--format"
          ],
          "description": "JSON is the default.",
          "args": {
            "name": "format",
            "description": "JSON is the default.",
            "isOptional": false,
            "suggestions": [
              {
                "name": "csv",
                "description": "CSV"
              }
            ]
          }
        }
      ]
    }
  ]
}
