From 68dbd625bd57f48cc8936743d7ab199a2810300f Mon Sep 17 00:00:00 2001 From: Andinus Date: Sat, 14 Aug 2021 22:24:40 +0530 Subject: Add option for number of Most Spoken Columns --- lib/Lacerta/CLI.rakumod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Lacerta') 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).await: Promise.start: { -- cgit 1.4.1-2-gfad0