From 7145d1818350af8d793bea68a354707248666fa3 Mon Sep 17 00:00:00 2001 From: Oxbian Date: Sun, 8 Oct 2023 22:02:22 +0200 Subject: Updating project to be POSIX sh and creating a man page --- matrix-sender.1 | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 matrix-sender.1 (limited to 'matrix-sender.1') 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 " +Get token account token, needed for sending messages + +.IP "-s " +Send a message to a matrix room + +.IP "-html " +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 '

Hello World!

'" +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) -- cgit v1.2.3