Echo/Docs

CLI command

outreach

List safe creator-contact and outreach-campaign state.

Invocation#

Shell
echo-cli outreach

Inputs and output#

Writes contacts and campaigns arrays. Contact email and notes, and campaign message templates, are deliberately not selected.

State effect#

The command performs bounded SELECTs from creator_contacts and crm_campaigns. It does not contact a creator, send a message, or change a campaign.

Refusals#

  • Without NEXT_PUBLIC_SUPABASE_URL it prints exactly "NEXT_PUBLIC_SUPABASE_URL is not configured" to stderr and exits 1.
  • After the URL is present, without SUPABASE_SERVICE_ROLE_KEY it prints exactly "SUPABASE_SERVICE_ROLE_KEY is not configured" to stderr and exits 1.
  • If Supabase refuses a SELECT, the CLI prints the returned database error message to stderr and exits 1.