Skip to content

Commit

Permalink
Add npx vs yarn vs PNPM CLI usage example
Browse files Browse the repository at this point in the history
  • Loading branch information
domwebber committed Nov 20, 2024
1 parent 91a29bf commit 159a0aa
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 159a0aa

Please sign in to comment.