From 836d648700d200ad7e42039e55e91c87b10d0583 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 7 Sep 2017 15:08:31 +0200 Subject: [PATCH] Add examples in the README --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index f84b71d..c24e227 100644 --- a/README.md +++ b/README.md @@ -40,3 +40,15 @@ room=!BWdARvAgNQGgSjgtAG:matrix.domain.com ``` Options given on the command line take precedence over the config file + +Examples: + +``` +cat /var/log/boot.log | patrix --room='#bootlogs:matrix.domain.com' --action=send-notice +``` +``` +patrix --action=send-file --file=/home/dani/archive.tgz --user=dani --password=secret --server=matrix.domain.com +``` +``` +patrix --debug --message="Hello World" +```