Echo/Docs

CLI command

assets

List imported assets and completed generated outputs.

Invocation#

Shell
echo-cli assets

Inputs and output#

Writes external and generated arrays. External rows contain safe catalogue metadata; generated rows use the prompt-free generation projection.

State effect#

The command performs bounded SELECTs from external_assets and generation_jobs. It does not upload, download, generate, or delete an asset.

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.