{
  "description": "Add an entry with the text field, or read entries back in a chosen format. The single-dash date filters (-from, -to, -on) and encryption commands are left out.",
  "options": [
    {
      "names": [
        "-n"
      ],
      "description": "Maximum entries to show",
      "args": {
        "name": "limit",
        "isOptional": false
      }
    },
    {
      "names": [
        "--short"
      ],
      "description": "Dates and titles only"
    },
    {
      "names": [
        "--tags"
      ],
      "description": "List tags with counts"
    },
    {
      "names": [
        "--format"
      ],
      "description": "Open set; see the jrnl formats page (for example json, markdown, text).",
      "args": {
        "name": "format",
        "description": "Open set; see the jrnl formats page (for example json, markdown, text).",
        "isOptional": false
      }
    },
    {
      "names": [
        "--file"
      ],
      "description": "Write output to file",
      "args": {
        "name": "file",
        "isOptional": false,
        "template": "filepaths"
      }
    },
    {
      "names": [
        "--edit"
      ],
      "description": "Edit in editor"
    },
    {
      "names": [
        "--delete"
      ],
      "description": "Delete entries (interactive)",
      "isDangerous": true
    },
    {
      "names": [
        "--config-file"
      ],
      "description": "Config file",
      "args": {
        "name": "config_file",
        "isOptional": false,
        "template": "filepaths"
      }
    },
    {
      "names": [
        "--debug"
      ],
      "description": "Debug output"
    }
  ],
  "args": [
    {
      "name": "text",
      "description": "Words after jrnl are written as a new entry; a leading journal name selects that journal.",
      "isOptional": true,
      "isVariadic": true
    }
  ],
  "name": "jrnl"
}
