Command line interface for Unhook
Option | Alias | Description | Required | Default |
---|---|---|---|---|
--port | -p | Local service port | Yes* | - |
--webhook-id | -t | Webhook ID | Yes* | - |
--client-id | -c | Unique client ID | No | Auto-generated |
--redirect | -r | Redirect URL | Yes* | - |
--debug | -d | Enable debug logs | No | false |
--ping | - | Health check config | No | true |
--help | -h | Show help | No | - |
--version | -v | Show version | No | - |
--port
or --redirect
must be provided, but not both.
unhook.yaml
in your project root:
--debug
)--ping
option configures connection health monitoring:
~/.unhook/auth-storage.json
:
Code | Description |
---|---|
0 | Success |
1 | General error |
2 | Invalid configuration |
3 | Network error |
4 | Authentication error |
--debug
when troubleshooting issuesrm ~/.unhook/auth-storage.json
npx @unhook/cli init
unhook listen --debug