about summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2021-08-14 22:24:40 +0530
committerAndinus <andinus@nand.sh>2021-08-14 22:24:40 +0530
commit68dbd625bd57f48cc8936743d7ab199a2810300f (patch)
treef063bd28e786bae6c15c3258e1b25f0a913e92e7 /lib
parent14813280578a099be5dd81858ace1489a43028a8 (diff)
downloadlacerta-68dbd625bd57f48cc8936743d7ab199a2810300f.tar.gz
Add option for number of Most Spoken Columns
Diffstat (limited to 'lib')
-rw-r--r--lib/Lacerta/CLI.rakumod2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Lacerta/CLI.rakumod b/lib/Lacerta/CLI.rakumod
index ad52e0c..c096866 100644
--- a/lib/Lacerta/CLI.rakumod
+++ b/lib/Lacerta/CLI.rakumod
@@ -8,6 +8,7 @@ proto MAIN(|) is export {unless so @*ARGS {put $*USAGE; exit}; {*}}
 multi sub MAIN(
     Str $input where *.IO.f = "input", #= input log file to parse
     Str :$profile-name = "Andinus", #= your WhatsApp profile name
+    Int :$no-of-spoken = 3, #= number of Most Spoken columns
 ) is export {
     #| Parses the WhatsApp logs.
     grammar WhatsApp {
@@ -34,7 +35,6 @@ multi sub MAIN(
     my List @data;
     my List @given-data;
     my List @most-spoken-data;
-    my Int $no-of-spoken = 8;
 
     $timed = now;
     Spinner.new(:type<bounce>).await: Promise.start: {