{
  "id": "supabase",
  "name": "Supabase CLI",
  "homepage": "https://supabase.com/docs/reference/cli/introduction",
  "description": "Supabase CLI. Manage postgres migrations, run Supabase locally, deploy edge functions.",
  "icon": "SimpleIcons:supabase",
  "executables": [
    "supabase"
  ],
  "dotfiles": {
    "paths": [],
    "exclude": [
      "~/.supabase/telemetry.json",
      "~/.supabase/profile"
    ],
    "secret": [
      "~/.supabase/access-token"
    ]
  },
  "commands": {
    "format": 1,
    "label": "Supabase CLI commands",
    "description": "Link a project, push migrations, create migrations and deploy functions. Other subcommands are left out.",
    "quality": "ai-draft",
    "base": "fig:supabase",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/supabase.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "link"
        ],
        "label": "Link to a project",
        "description": "Link the local directory to a Supabase project.",
        "parser": {
          "end_of_options": "--",
          "interleave": "permute",
          "long_equals": true,
          "short_attached": true,
          "short_bundles": false
        },
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/supabase.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "project_ref",
            "label": "Project ref",
            "type": "string",
            "option": [
              "--project-ref"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "password",
            "label": "Database password",
            "type": "string",
            "option": [
              "--password",
              "-p"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "link",
            "label": "Link project",
            "fields": [
              "project_ref",
              "password"
            ],
            "required": [
              "project_ref"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "project_ref",
              "password"
            ]
          }
        ]
      },
      {
        "path": [
          "db",
          "push"
        ],
        "label": "Push migrations",
        "description": "Push new migrations to the remote database.",
        "parser": {
          "end_of_options": "--",
          "interleave": "permute",
          "long_equals": true,
          "short_attached": true,
          "short_bundles": false
        },
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/supabase.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "dry_run",
            "label": "Dry run",
            "description": "Print the migrations that would be applied.",
            "type": "boolean",
            "option": [
              "--dry-run"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "password",
            "label": "Database password",
            "type": "string",
            "option": [
              "--password",
              "-p"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "preview",
            "label": "Preview push",
            "set": {
              "dry_run": [
                true
              ]
            },
            "lock": [
              "dry_run"
            ],
            "fields": [
              "dry_run"
            ],
            "required": []
          },
          {
            "id": "push",
            "label": "Push migrations",
            "fields": [
              "dry_run",
              "password"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "dry_run",
              "password"
            ]
          }
        ]
      },
      {
        "path": [
          "migration",
          "new"
        ],
        "label": "New migration",
        "description": "Create an empty migration script.",
        "parser": {
          "end_of_options": "--",
          "interleave": "permute",
          "long_equals": true,
          "short_attached": true,
          "short_bundles": false
        },
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/supabase.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "name",
            "label": "Migration name",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "new",
            "label": "Create migration",
            "fields": [
              "name"
            ],
            "required": [
              "name"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "name"
            ]
          }
        ]
      },
      {
        "path": [
          "functions",
          "deploy"
        ],
        "label": "Deploy a function",
        "description": "Deploy an Edge Function to Supabase.",
        "parser": {
          "end_of_options": "--",
          "interleave": "permute",
          "long_equals": true,
          "short_attached": true,
          "short_bundles": false
        },
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/supabase.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "project_ref",
            "label": "Project ref",
            "type": "string",
            "option": [
              "--project-ref"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "no_verify_jwt",
            "label": "Disable JWT verification",
            "type": "boolean",
            "option": [
              "--no-verify-jwt"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "deploy",
            "label": "Deploy function",
            "fields": [
              "project_ref",
              "no_verify_jwt"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "project_ref",
              "no_verify_jwt"
            ]
          }
        ]
      }
    ]
  }
}
