github-webhooks icon indicating copy to clipboard operation
github-webhooks copied to clipboard

Default Configuration generation command

Open fntlnz opened this issue 10 years ago • 0 comments

Write a command that can generate a configuration from a built-in template. Right now this can be also a non interactive command, just create a file from the template at the given path

The template could be something like

{
    "host": "0.0.0.0",
    "port": "3091",
    "path": "/usr/bin:/bin",
    "repositories": {
        "me/myrepository": {
            "events": {
                "ping": ["touch ping-happened.txt"]
            }
        }
    }
}

fntlnz avatar Jan 03 '16 01:01 fntlnz