From 13418619533ef65604babc31142ef4965da7b617 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Sun, 10 Sep 2017 10:33:33 +0200 Subject: [PATCH] Add new dependency --- README.md | 4 +++- patrix.spec | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9ae59fc..c9d618a 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ It requires the following perl modules * Getopt::Long * URI::Escape * JSON + * Term::ReadKey For now it's very limited, and can only send text messages and files to a room. Here're the vailable options: @@ -27,6 +28,7 @@ For now it's very limited, and can only send text messages and files to a room. * --name: set the name of a room. Valid for create-room and modify-room * --topic: set the topic of a room. Valid for create-room and modify-room * --alias: set an alias for a room. Valid for create-room and modify-room + * --join_rules: change joining rules. Can be either public (anyone can join the room) or invite (you must be invited to join the room) * --federation: Enable the federation when creating a room. Default is enabled. Can be turned of with --no-federation * --action: what to do. Valid actions are * send-msg (default): send the text message @@ -34,7 +36,7 @@ For now it's very limited, and can only send text messages and files to a room. * send-notice: send a notice. Very similar to send-msg but the client may display it differently. Eg Riot will not notify you for notices * send-file: send a binary file. --file must be set * create-room: create a new room - * modify-room: change an existing room (add an alias, set name, topic or invite) + * modify-room: change an existing room (add an alias, set name, topic, join_rules, invite) * get-access-token: just login and print the access token * get-room-list: prints the list of public rooms of this server diff --git a/patrix.spec b/patrix.spec index 90a9000..3f7d1ae 100644 --- a/patrix.spec +++ b/patrix.spec @@ -19,6 +19,7 @@ Requires: perl(File::basename) Requires: perl(File::MimeInfo) Requires: perl(Path::Tiny) Requires: perl(URI::Escape) +Requires: perl(Term::ReadKey) %description Patrix is a simple (and quite limited) client for the Matrix communication network