Skip to main content

CLI reference

The CLI package is creatads-cli version 1.0.0. Its source lives in services/cli. Build it from the monorepo, or install it from a registry only when a published package is available.

Authentication

auth login stores the API key and base URL in ~/.creatads/config.json. Never commit this file.

Workspaces

The default client makes --client <id> optional in later commands.

Angles

angles generate creates ten angles. The former profiles commands no longer exist.

Campaigns

Without --no-wait, the CLI polls until at least one creative is returned or the timeout is reached. This is not a guarantee that every expected image in a multi-image batch is ready; use creatads creatives list to verify the final count. The CLI campaign command does not currently expose selected_angle_ids, image URLs or platform targets even though the REST API and SDK accept them.

Creatives

API keys

These commands require a Supabase session JWT. If omitted, the CLI prompts for it.

Local configuration