From a71eaff19e68fc4eb472342eeb3852fc9a13c7c1 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 16 Aug 2018 17:15:07 +0000 Subject: [PATCH] readme example --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b225758..d055b33 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,18 @@ Dip Configurable webhook server. -Read documentation at `cargo doc`. +Express your webhooks in terms of composable blocks such as: + +```toml +[[handlers]] +type = "github" +secret = "hunter2" +outdir = "/home/michael/dip" + +[[handlers]] +type = "script" +command = "cargo build" +``` Contact -------