Skip to content

feat: add supabase functions list#5185

Merged
jgoux merged 4 commits into
developfrom
codex/cli-functions-list
May 6, 2026
Merged

feat: add supabase functions list#5185
jgoux merged 4 commits into
developfrom
codex/cli-functions-list

Conversation

@jgoux
Copy link
Copy Markdown
Contributor

@jgoux jgoux commented May 6, 2026

Add supabase functions list

Summary

Adds the next CLI supabase functions list command.

The command builds a local Edge Functions inventory from the project config/filesystem and, when the project is linked and authenticated, enriches that inventory with remote deployment data from the Supabase Management API.

What Changed

  • Registers supabase functions list under the next CLI functions command tree.
  • Infers local Edge Functions with @supabase/config, including functions declared in supabase/config.toml.
  • Fetches deployed functions from the linked project when credentials are available.
  • Merges local and remote functions by slug so users can see both local presence and remote deployment status in one view.
  • Adds text output with local status, remote status, version, updated timestamp, and entrypoint.
  • Adds JSON output for agents and automation.
  • Handles common partial-data cases gracefully:
    • unlinked project
    • linked project without credentials
    • remote API request failure
    • empty local/remote inventory
  • Adds integration coverage for the command behavior.

@jgoux jgoux requested a review from a team as a code owner May 6, 2026 11:41
@jgoux jgoux enabled auto-merge May 6, 2026 12:12
@jgoux jgoux disabled auto-merge May 6, 2026 13:55
@jgoux jgoux enabled auto-merge (squash) May 6, 2026 13:55
@jgoux jgoux merged commit 80bd85e into develop May 6, 2026
7 checks passed
@jgoux jgoux deleted the codex/cli-functions-list branch May 6, 2026 14:00
@supabase-cli-releaser supabase-cli-releaser Bot mentioned this pull request May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants