-
Notifications
You must be signed in to change notification settings - Fork 0
/
matrix-sender.1
47 lines (35 loc) · 1.18 KB
/
matrix-sender.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
.\" Manpage for matrix-sender.
.\" Contact oxbian.noch@simplelogin.com to correct errors or typos.
.TH man 8 "06 July 2024" "1.1" "matrix-sender man page"
.SH NAME
.B matrix-sender
- send an unencrypted message to a matrix room via CLI
.SH SYNOPSIS
.B matrix-sender [OPTIONS]
.SH DESCRIPTION
Matrix sender is a POSIX shell script for sending unencrypted message to a Matrix room. It supports HTML formatting, usefull for log on servers
There will be no update for supporting encrypted message, the simplicity of this script will be degraded by that, if you really need check
.B nio-send
.SH OPTIONS
.IP "-h|--help"
Prints help
.IP "-t <username> <password>"
Get token account token, needed for sending messages
.IP "-s {<room-id>} <message>"
Send a message to a matrix room, room can be specified
.IP "-html {<room-id>} <html formatted message>"
Send a HTML formatted message to a matrix room, room can be specified
.SH EXAMPLES
.IP "matrix-sender -s 'Hello World!'
Send "Hello world!" to a matrix room
.IP "matrix-sender -html '<h1>Hello World!</h1>'"
Send a bold "Hello World!" to a matrix room
.SH EXIT STATUS
.TP
.B 0
Success
.TP
.B 1
Error
.SH AUTHOR
Oxbian (oxbian.noch@simplelogin.com)