From 8a89e81e83d5950e1fda5667d8faa0777e3c4c7f Mon Sep 17 00:00:00 2001 From: eneller Date: Sun, 27 Apr 2025 16:38:36 +0200 Subject: [PATCH] doc: readme --- README.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f5692e5..c2c7fb4 100644 --- a/README.md +++ b/README.md @@ -4,5 +4,20 @@ CLI Whatsapp Polls using go: - [urfave/cli](https://github.com/urfave/cli) for the command line # Usage -Simply pass the content of the `id` field of your group as CLI argument. -Can be easily scheduled using `crontab` because of its non-interactive operation. \ No newline at end of file +Can be easily scheduled using `crontab` because of its non-interactive operation +``` +NAME: + whatsup-poll - Run WhatsApp actions from your CLI. User JID has to end with '@s.whatsapp.net', Group ID with '@g.us' + +USAGE: + whatsup-poll [global options] [command [command options]] + +COMMANDS: + message send a message using + getgroups print all available group info + poll send a poll using
; requires a group ID + help, h Shows a list of commands or help for one command + +GLOBAL OPTIONS: + --help, -h show help +```