23 lines
437 B
Go
23 lines
437 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/spf13/afero"
|
|
"github.com/spf13/cobra"
|
|
"github.com/supabase/cli/internal/services"
|
|
)
|
|
|
|
var (
|
|
servicesCmd = &cobra.Command{
|
|
GroupID: groupManagementAPI,
|
|
Use: "services",
|
|
Short: "Show versions of all Supabase services",
|
|
RunE: func(cmd *cobra.Command, args []string) error {
|
|
return services.Run(cmd.Context(), afero.NewOsFs())
|
|
},
|
|
}
|
|
)
|
|
|
|
func init() {
|
|
rootCmd.AddCommand(servicesCmd)
|
|
}
|