wacli, wacli-{auth, sync}, wacli-send-{file, text}: add page (#21965)

Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com>
Co-authored-by: pixie <pixel+github@chrissx.de>
This commit is contained in:
Axel Navarro
2026-06-27 22:29:16 +07:00
committed by GitHub
co-authored by Ivan Baluta pixie
parent f6e09ee6ba
commit 86cf9108cc
5 changed files with 109 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
# wacli auth
> Authenticate wacli with WhatsApp via QR code.
> See also: `wacli sync`, `wacli doctor`.
> More information: <https://wacli.sh/auth.html>.
- Start the authentication process:
`wacli auth`
- Authenticate using a custom store path:
`wacli auth --store {{path/to/store}}`
+17
View File
@@ -0,0 +1,17 @@
# wacli send file
> Send a file (image, video, audio, or document) via WhatsApp.
> See also: `wacli send text`.
> More information: <https://wacli.sh/send.html>.
- Send a file to a phone number:
`wacli send file --to {{phone_number}} --file {{path/to/file}}`
- Send a file to a specific JID:
`wacli send file --to {{phone_number}}@s.whatsapp.net --file {{path/to/file}}`
- Send a file with a custom timeout:
`wacli send file --to {{phone_number}} --file {{path/to/file}} --timeout {{10m}}`
+21
View File
@@ -0,0 +1,21 @@
# wacli send text
> Send a text message via WhatsApp.
> See also: `wacli send file`.
> More information: <https://wacli.sh/send.html>.
- Send a text message to a phone number:
`wacli send text --to {{phone_number}} --message "{{message}}"`
- Send a text message to a specific JID:
`wacli send text --to {{phone_number}}@s.whatsapp.net --message "{{message}}"`
- Send a text message with a custom timeout:
`wacli send text --to {{phone_number}} --message "{{message}}" --timeout {{10m}}`
- Send a text message using a custom store path:
`wacli send text --to {{phone_number}} --message "{{message}}" --store {{path/to/store}}`
+21
View File
@@ -0,0 +1,21 @@
# wacli sync
> Synchronize WhatsApp messages to the local store.
> See also: `wacli auth`, `wacli messages list`.
> More information: <https://wacli.sh/sync.html>.
- Synchronize messages:
`wacli sync`
- Synchronize messages once and exit:
`wacli sync --once`
- Synchronize messages using a custom store:
`wacli sync --store {{path/to/store}}`
- Synchronize messages with a custom timeout:
`wacli sync --timeout {{10m}}`
+37
View File
@@ -0,0 +1,37 @@
# wacli
> WhatsApp command-line client for sending messages, managing chats, and contacts.
> Some subcommands such as `send`, `messages`, `chats`, and `contacts` have their own usage documentation.
> More information: <https://wacli.sh/>.
- Authenticate via QR code:
`wacli auth`
- Synchronize messages once and exit:
`wacli sync --once`
- Send a text message to a phone number:
`wacli send text --to {{phone_number}} --message "{{message}}"`
- List messages from a specific chat:
`wacli messages list --chat {{phone_number}}@s.whatsapp.net --json`
- List all chats:
`wacli chats list --json`
- Search contacts by name:
`wacli contacts search "{{name}}" --json`
- Run diagnostics on the store:
`wacli doctor`
- Display version:
`wacli version`