bun run cli -- from the GTM checkout, or with oneshot-gtm after linking the CLI. The CLI is not published to npm.
Runtime-dependent defaults are described in the help text. Use --help on any command for local help.
oneshot-gtm
Open-source GTM agent for technical founders. Pay-per-result. Signed receipts.Use the dashboard (oneshot-gtm ui) for ad-hoc discovery, review and sending.
Options
oneshot-gtm direct-mail
Review and approve individual physical mailpiecesOptions
oneshot-gtm direct-mail list
List direct-mail piecesOptions
oneshot-gtm direct-mail upload
Upload artwork for a mailpieceArguments
Options
oneshot-gtm direct-mail preview
Prepare a configured direct-mail cadence step; JSON contains to, from, artwork asset IDsArguments
Options
oneshot-gtm direct-mail refresh
Refresh a mailpiece’s quote, or its order status once submittedArguments
Options
oneshot-gtm direct-mail approve
Approve a reviewed mailpiece and its priceArguments
Options
oneshot-gtm direct-mail send
Send an approved mailpiece (paid)Arguments
Options
oneshot-gtm direct-mail cancel
Cancel a mailpieceArguments
Options
oneshot-gtm direct-mail skip
Skip the pending letter and continue the cadence with its next stepArguments
Options
oneshot-gtm init
First-run setup wizardOptions
oneshot-gtm doctor
Check setup healthOptions
oneshot-gtm compact-receipts
Shrink the local data file by trimming old receipt payloadsOptions
oneshot-gtm ui
Open the local dashboard athttp://127.0.0.1:<port>