Directories
¶
| Path | Synopsis |
|---|---|
|
Package apiresponse remembers the exact body the API returned for each decoded SDK result, so JSON output can print it unchanged.
|
Package apiresponse remembers the exact body the API returned for each decoded SDK result, so JSON output can print it unchanged. |
|
Package auth provides authentication utilities for the AhaSend CLI.
|
Package auth provides authentication utilities for the AhaSend CLI. |
|
Package batch sends the requests of messages send concurrently.
|
Package batch sends the requests of messages send concurrently. |
|
Package client provides a wrapper around the AhaSend SDK with enhanced functionality.
|
Package client provides a wrapper around the AhaSend SDK with enhanced functionality. |
|
Package cmdutil holds the flag helpers that commands share: cursor pagination, partial-update readers, repeatable flags, required flags that can be asked for, idempotency keys, and the content and sender flags of templates and campaigns.
|
Package cmdutil holds the flag helpers that commands share: cursor pagination, partial-update readers, repeatable flags, required flags that can be asked for, idempotency keys, and the content and sender flags of templates and campaigns. |
|
Package config provides configuration management for the AhaSend CLI.
|
Package config provides configuration management for the AhaSend CLI. |
|
Package dns provides DNS record formatting and display utilities.
|
Package dns provides DNS record formatting and display utilities. |
|
Package listen runs the listen commands of webhooks and routes: it connects to the AhaSend event stream, prints each event and forwards it, signed, to a local endpoint.
|
Package listen runs the listen commands of webhooks and routes: it connects to the AhaSend event stream, prints each event and forwards it, signed, to a local endpoint. |
|
Package logger provides comprehensive logging capabilities for the AhaSend CLI.
|
Package logger provides comprehensive logging capabilities for the AhaSend CLI. |
|
Package mocks holds MockClient, a testify mock of client.AhaSendClient, with which tests run commands without calling the API, and fixtures of the resources commands print.
|
Package mocks holds MockClient, a testify mock of client.AhaSendClient, with which tests run commands without calling the API, and fixtures of the resources commands print. |
|
Package printer writes the result of each command in the format --output names.
|
Package printer writes the result of each command in the format --output names. |
|
Package progress reports the progress of messages send and its performance metrics.
|
Package progress reports the progress of messages send and its performance metrics. |
|
Package prompt asks the user for input on stderr and reads the answer from stdin: confirmations, which --force skips, answers, and secrets, which a terminal hides as they are typed.
|
Package prompt asks the user for input on stderr and reads the answer from stdin: confirmations, which --force skips, answers, and secrets, which a terminal hides as they are typed. |
|
Package terminal decides what the CLI writes to a terminal: whether a stream is a terminal that acts on escape sequences, and whether output to it is colored.
|
Package terminal decides what the CLI writes to a terminal: whether a stream is a terminal that acts on escape sequences, and whether output to it is colored. |
|
Package testenv keeps test binaries away from the developer's environment.
|
Package testenv keeps test binaries away from the developer's environment. |
|
Package testutil provides testing utilities and helpers for the AhaSend CLI:
|
Package testutil provides testing utilities and helpers for the AhaSend CLI: |
|
Package validation provides the input checks that CLI commands share:
|
Package validation provides the input checks that CLI commands share: |
Click to show internal directories.
Click to hide internal directories.