From 206c0aab0ed1f99cad242a147390c489c56ee605 Mon Sep 17 00:00:00 2001 From: Andinus Date: Thu, 29 Jul 2021 20:41:28 +0530 Subject: Update README --- README | 26 ++++++++++++++++++++------ README.org | 20 +++++++++++++++----- 2 files changed, 35 insertions(+), 11 deletions(-) diff --git a/README b/README index 7cbbb65..ca3bc42 100644 --- a/README +++ b/README @@ -83,18 +83,32 @@ Documentation Implementation ────────────── - Just enter the player names & it'll print each throw along with - scores. Press enter to play another round. + It reads the log line by line and tries to match it with `WhatsApp' + grammar. Options ─────── -players -╌╌╌╌╌╌╌ +input +╌╌╌╌╌ - Number of players. Default is 2, should be an integer equal to or - greater than 2. + Exported WhatsApp log. + + +profile-name +╌╌╌╌╌╌╌╌╌╌╌╌ + + Your WhatsApp profile name. This is required to get stats for /Left/ + and /Deleted/ column. + + +Caveats +─────── + + /Words/ count can be less than the actual count. If the message + contains new lines then they have them in the log too. We read the log + line by line, so it'll miss parts of messages with newline in them. News diff --git a/README.org b/README.org index 7ecb3e7..dd74daf 100644 --- a/README.org +++ b/README.org @@ -51,15 +51,25 @@ zef install . ** Implementation -Just enter the player names & it'll print each throw along with scores. -Press enter to play another round. +It reads the log line by line and tries to match it with ~WhatsApp~ +grammar. ** Options -*** players +*** input -Number of players. Default is 2, should be an integer equal to or -greater than 2. +Exported WhatsApp log. + +*** profile-name + +Your WhatsApp profile name. This is required to get stats for /Left/ and +/Deleted/ column. + +** Caveats + +/Words/ count can be less than the actual count. If the message contains +new lines then they have them in the log too. We read the log line by +line, so it'll miss parts of messages with newline in them. * News -- cgit 1.4.1-2-gfad0