@gethookmyapp/cli
v0.9.7
Published
HookMyApp CLI, No BS. Just go live.
Downloads
2,699
Maintainers
Readme
@gethookmyapp/cli
HookMyApp CLI, No BS. Just go live.
Install
npm install -g @gethookmyapp/cliRequires Node.js >= 18.
Quick Start
hookmyapp --help
hookmyapp --versionRun the interactive setup to connect your WhatsApp Business account and start receiving webhooks:
hookmyapp login
hookmyapp channels connectIdentifiers
Starting with v0.5.0, every id flag takes a Stripe-style publicId instead of a raw UUID. Prefixes:
| prefix | entity | example |
| ------ | ------------------ | -------------- |
| ws_ | workspace | ws_A4zq8d2T |
| ch_ | channel | ch_a4Zq8d2T |
| ssn_ | sandbox session | ssn_3Bq8RkP2 |
| inv_ | workspace invite | inv_7HjKp2Qe |
Find yours with hookmyapp workspace list / hookmyapp channels list /
hookmyapp sandbox status. Pass as a flag:
hookmyapp --workspace ws_A4zq8d2T channels list
hookmyapp sandbox listen --session ssn_3Bq8RkP2Raw UUID input (from pre-0.5.0 scripts) is rejected with a typed error — upgrade your automation to the publicId shape.
Telemetry
Starting with v0.8.0, HookMyApp CLI reports crashes to our Sentry project so we can fix bugs fast. No command arguments, file contents, or environment variable values are sent — only the error class, stack trace, CLI version, platform, and (when you're logged in) your WorkOS user id.
Telemetry is ON by default — industry norm for product CLIs (npm, Next.js, Vercel, Homebrew). You can disable it any time:
# Persistent (writes to ~/.hookmyapp/config.json):
hookmyapp config set telemetry off
# Session-scoped (overrides persisted setting for one invocation):
HOOKMYAPP_TELEMETRY=off hookmyapp <command>Check the active state:
hookmyapp config show # human
hookmyapp config show --json # machine-readable
hookmyapp config get telemetry # just the persisted flagA one-time disclosure banner prints to stderr on your first authenticated
command. The decision is stored in ~/.hookmyapp/config.json alongside your
active workspace + environment profile.
Re-enable later with hookmyapp config set telemetry on or revert to the
default with hookmyapp config unset telemetry.
Documentation
Full docs: https://hookmyapp.com
Issues
https://github.com/hookmyapp/hookmyapp/issues
License
MIT
