• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / cli / 19699968033

26 Nov 2025 10:07AM UTC coverage: 54.995% (-0.4%) from 55.403%
19699968033

Pull #4368

github

web-flow
Merge b6a3e01eb into 6558d59e6
Pull Request #4368: feat: add deploy command to push all changes to linked project

45 of 181 new or added lines in 10 files covered. (24.86%)

15 existing lines in 2 files now uncovered.

6705 of 12192 relevant lines covered (55.0%)

6.2 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/cmd/config.go
1
package cmd
2

3
import (
4
        "github.com/spf13/afero"
5
        "github.com/spf13/cobra"
6
        "github.com/supabase/cli/internal/config/push"
7
        "github.com/supabase/cli/internal/utils/flags"
8
)
9

10
var (
11
        configCmd = &cobra.Command{
12
                GroupID: groupManagementAPI,
13
                Use:     "config",
14
                Short:   "Manage Supabase project configurations",
15
        }
16

17
        configPushCmd = &cobra.Command{
18
                Use:   "push",
19
                Short: "Pushes local config.toml to the linked project",
20
                RunE: func(cmd *cobra.Command, args []string) error {
×
NEW
21
                        return push.Run(cmd.Context(), flags.ProjectRef, dryRun, afero.NewOsFs())
×
22
                },
×
23
        }
24
)
25

26
func init() {
×
27
        configCmd.PersistentFlags().StringVar(&flags.ProjectRef, "project-ref", "", "Project ref of the Supabase project.")
×
NEW
28
        configPushCmd.Flags().BoolVar(&dryRun, "dry-run", false, "Print operations that would be performed without executing them.")
×
29
        configCmd.AddCommand(configPushCmd)
×
30
        rootCmd.AddCommand(configCmd)
×
31
}
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc