Skip to content

Commit

Permalink
Merge pull request #269 from domwebber/main
Browse files Browse the repository at this point in the history
Add npx vs yarn vs PNPM CLI usage example
  • Loading branch information
domwebber authored Nov 20, 2024
2 parents 694881e + 159a0aa commit f9353f3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ pnpm add @great-detail/whatsapp
export WHATSAPP_ACCESS_TOKEN=""
export WHATSAPP_PHONE_NUMBER_ID=""

# NPM / Yarn / PNPM
npx @great-detail/whatsapp ...
yarn dlx @great-detail/whatsapp ...
pnpx @great-detail/whatsapp ...

# Send a Text Message
# TODO: Re-add with updated SDK
npx @great-detail/whatsapp message send text "<RECIPIENT>" --body="Hello, World!"
Expand Down

0 comments on commit f9353f3

Please sign in to comment.