{
  "name": "base64",
  "description": "Encode and decode using Base64 representation",
  "parserDirectives": {
    "optionsMustPrecedeArgs": true
  },
  "options": [
    {
      "names": [
        "--help",
        "-h"
      ],
      "description": "Display this help and exit"
    },
    {
      "names": [
        "--break",
        "-b"
      ],
      "description": "Insert line breaks every count characters.  Default is 0, which generates an unbroken stream",
      "args": [
        {
          "name": "count",
          "suggestions": [
            "0"
          ]
        }
      ]
    },
    {
      "names": [
        "--decode",
        "-d",
        "-D"
      ],
      "description": "Decode incoming Base64 stream into binary data"
    },
    {
      "names": [
        "--input",
        "-i"
      ],
      "description": "Read input from input_file.  Default is stdin; passing - also represents stdin",
      "args": [
        {
          "name": "input_file",
          "template": "filepaths",
          "suggestions": [
            "stdin",
            "-"
          ]
        }
      ]
    },
    {
      "names": [
        "--output",
        "-o"
      ],
      "description": "Write output to output_file.  Default is stdout; passing - also represents stdout",
      "args": [
        {
          "name": "output_file",
          "template": "filepaths",
          "suggestions": [
            "stdout",
            "-"
          ]
        }
      ]
    }
  ]
}
