# This is a Mailpile plugin manifest, describing the `hacks` plugin.
{
    "name": "hacks",
    "author": "The Mailpile Team <team@mailpile.is>",
    "description": "Tools for hackers and developers. This plugin adds some low-level CLI commands for exploring Mailpile data structures and internals.",
    "display": true,
    "public": false,
    "code": {
        "python": ["hacks.py"],
        "javascript": [],
        "css": []
    },

    # This section defines URL routes and MIME types.
    "routes": {},

    # Please see https://github.com/pagekite/Mailpile/wiki/Config for
    # details about the configuration file syntax.
    "config": {},

    # These are our Python-related hooks
    "commands": [
        {
            "class": "Hacks",
            "name": "hacks"
        },
        {
            "class": "FixIndex",
            "name": "hacks/fixindex"
        },
        {
            "class": "PyCLI",
            "name": "hacks/pycli"
        },
        {
            "class": "ViewMetadata",
            "name": "hacks/metadata"
        },
        {
            "class": "EditMetadata",
            "name": "hacks/metadata/edit"
        },
        {
            "class": "ViewKeywords",
            "name": "hacks/keywords"
        },
        {
            "class": "ViewHeaderPrint",
            "name": "hacks/headerprint"
        },
        {
            "class": "Http",
            "name": "hacks/http"
        },
        {
            "class": "CheckMailbox",
            "name": "hacks/chkmbx"
        },
        {
            "class": "FakeSendingDates",
            "name": "hacks/fakedates"
        }
    ]
}
