mirror of https://github.com/dani/patrix.git
Add examples in the README
This commit is contained in:
parent
2f7f119a53
commit
836d648700
12
README.md
12
README.md
|
@ -40,3 +40,15 @@ room=!BWdARvAgNQGgSjgtAG:matrix.domain.com
|
||||||
```
|
```
|
||||||
|
|
||||||
Options given on the command line take precedence over the config file
|
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"
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue