diff options
author | Oxbian <got.dacs@slmail.me> | 2023-10-08 22:02:22 +0200 |
---|---|---|
committer | Oxbian <got.dacs@slmail.me> | 2023-10-08 22:02:22 +0200 |
commit | 7145d1818350af8d793bea68a354707248666fa3 (patch) | |
tree | 7d823eb848f75a1cde1cbb792cfdb2c108093a06 /matrix-sender.1 | |
parent | 217660d0cfdcbe3233019a80eb2dbecbd7a963dc (diff) | |
download | matrix-sender-7145d1818350af8d793bea68a354707248666fa3.tar.gz matrix-sender-7145d1818350af8d793bea68a354707248666fa3.zip |
Updating project to be POSIX sh and creating a man page
Diffstat (limited to 'matrix-sender.1')
-rw-r--r-- | matrix-sender.1 | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/matrix-sender.1 b/matrix-sender.1 new file mode 100644 index 0000000..9a0b5ab --- /dev/null +++ b/matrix-sender.1 @@ -0,0 +1,47 @@ +.\" Manpage for matrix-sender. +.\" Contact oxbian.noch@simplelogin.com to correct errors or typos. +.TH man 8 "08 October 2023" "1.0" "matrix-sender man page" + +.SH NAME +.B matrix-sender +- send an unencrypted message to a matrix room + +.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 <message>" +Send a message to a matrix room + +.IP "-html <html formatted message>" +Send a HTML formatted message to a matrix room + +.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) |