Skip to content

Commit

Permalink
chore: bump cli module to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
sweatybridge committed Dec 7, 2024
1 parent 803fabf commit eb0e5d6
Show file tree
Hide file tree
Showing 291 changed files with 878 additions and 939 deletions.
6 changes: 3 additions & 3 deletions cmd/bans.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package cmd
import (
"github.com/spf13/afero"
"github.com/spf13/cobra"
"github.com/supabase/cli/internal/bans/get"
"github.com/supabase/cli/internal/bans/update"
"github.com/supabase/cli/internal/utils/flags"
"github.com/supabase/cli/v2/internal/bans/get"
"github.com/supabase/cli/v2/internal/bans/update"
"github.com/supabase/cli/v2/internal/utils/flags"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions cmd/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"github.com/spf13/afero"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"github.com/supabase/cli/internal/bootstrap"
"github.com/supabase/cli/internal/utils"
"github.com/supabase/cli/v2/internal/bootstrap"
"github.com/supabase/cli/v2/internal/utils"
)

var (
Expand Down
20 changes: 10 additions & 10 deletions cmd/branches.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ import (
"github.com/go-errors/errors"
"github.com/spf13/afero"
"github.com/spf13/cobra"
"github.com/supabase/cli/internal/branches/create"
"github.com/supabase/cli/internal/branches/delete"
"github.com/supabase/cli/internal/branches/disable"
"github.com/supabase/cli/internal/branches/get"
"github.com/supabase/cli/internal/branches/list"
"github.com/supabase/cli/internal/branches/update"
"github.com/supabase/cli/internal/gen/keys"
"github.com/supabase/cli/internal/utils"
"github.com/supabase/cli/internal/utils/flags"
"github.com/supabase/cli/pkg/api"
"github.com/supabase/cli/v2/internal/branches/create"
"github.com/supabase/cli/v2/internal/branches/delete"
"github.com/supabase/cli/v2/internal/branches/disable"
"github.com/supabase/cli/v2/internal/branches/get"
"github.com/supabase/cli/v2/internal/branches/list"
"github.com/supabase/cli/v2/internal/branches/update"
"github.com/supabase/cli/v2/internal/gen/keys"
"github.com/supabase/cli/v2/internal/utils"
"github.com/supabase/cli/v2/internal/utils/flags"
"github.com/supabase/cli/v2/pkg/api"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions cmd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package cmd
import (
"github.com/spf13/afero"
"github.com/spf13/cobra"
"github.com/supabase/cli/internal/config/push"
"github.com/supabase/cli/internal/utils/flags"
"github.com/supabase/cli/v2/internal/config/push"
"github.com/supabase/cli/v2/internal/utils/flags"
)

var (
Expand Down
32 changes: 16 additions & 16 deletions cmd/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@ import (
"github.com/spf13/afero"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"github.com/supabase/cli/internal/db/branch/create"
"github.com/supabase/cli/internal/db/branch/delete"
"github.com/supabase/cli/internal/db/branch/list"
"github.com/supabase/cli/internal/db/branch/switch_"
"github.com/supabase/cli/internal/db/diff"
"github.com/supabase/cli/internal/db/dump"
"github.com/supabase/cli/internal/db/lint"
"github.com/supabase/cli/internal/db/pull"
"github.com/supabase/cli/internal/db/push"
"github.com/supabase/cli/internal/db/remote/changes"
"github.com/supabase/cli/internal/db/remote/commit"
"github.com/supabase/cli/internal/db/reset"
"github.com/supabase/cli/internal/db/start"
"github.com/supabase/cli/internal/db/test"
"github.com/supabase/cli/internal/utils"
"github.com/supabase/cli/internal/utils/flags"
"github.com/supabase/cli/v2/internal/db/branch/create"
"github.com/supabase/cli/v2/internal/db/branch/delete"
"github.com/supabase/cli/v2/internal/db/branch/list"
"github.com/supabase/cli/v2/internal/db/branch/switch_"
"github.com/supabase/cli/v2/internal/db/diff"
"github.com/supabase/cli/v2/internal/db/dump"
"github.com/supabase/cli/v2/internal/db/lint"
"github.com/supabase/cli/v2/internal/db/pull"
"github.com/supabase/cli/v2/internal/db/push"
"github.com/supabase/cli/v2/internal/db/remote/changes"
"github.com/supabase/cli/v2/internal/db/remote/commit"
"github.com/supabase/cli/v2/internal/db/reset"
"github.com/supabase/cli/v2/internal/db/start"
"github.com/supabase/cli/v2/internal/db/test"
"github.com/supabase/cli/v2/internal/utils"
"github.com/supabase/cli/v2/internal/utils/flags"
)

var (
Expand Down
12 changes: 6 additions & 6 deletions cmd/domains.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ package cmd
import (
"github.com/spf13/afero"
"github.com/spf13/cobra"
"github.com/supabase/cli/internal/hostnames/activate"
"github.com/supabase/cli/internal/hostnames/create"
"github.com/supabase/cli/internal/hostnames/delete"
"github.com/supabase/cli/internal/hostnames/get"
"github.com/supabase/cli/internal/hostnames/reverify"
"github.com/supabase/cli/internal/utils/flags"
"github.com/supabase/cli/v2/internal/hostnames/activate"
"github.com/supabase/cli/v2/internal/hostnames/create"
"github.com/supabase/cli/v2/internal/hostnames/delete"
"github.com/supabase/cli/v2/internal/hostnames/get"
"github.com/supabase/cli/v2/internal/hostnames/reverify"
"github.com/supabase/cli/v2/internal/utils/flags"
)

var (
Expand Down
6 changes: 3 additions & 3 deletions cmd/encryption.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"os"

"github.com/spf13/cobra"
"github.com/supabase/cli/internal/encryption/get"
"github.com/supabase/cli/internal/encryption/update"
"github.com/supabase/cli/internal/utils/flags"
"github.com/supabase/cli/v2/internal/encryption/get"
"github.com/supabase/cli/v2/internal/encryption/update"
"github.com/supabase/cli/v2/internal/utils/flags"
)

var (
Expand Down
18 changes: 9 additions & 9 deletions cmd/functions.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ import (

"github.com/spf13/afero"
"github.com/spf13/cobra"
"github.com/supabase/cli/internal/functions/delete"
"github.com/supabase/cli/internal/functions/deploy"
"github.com/supabase/cli/internal/functions/download"
"github.com/supabase/cli/internal/functions/list"
new_ "github.com/supabase/cli/internal/functions/new"
"github.com/supabase/cli/internal/functions/serve"
"github.com/supabase/cli/internal/utils"
"github.com/supabase/cli/internal/utils/flags"
"github.com/supabase/cli/pkg/cast"
"github.com/supabase/cli/v2/internal/functions/delete"
"github.com/supabase/cli/v2/internal/functions/deploy"
"github.com/supabase/cli/v2/internal/functions/download"
"github.com/supabase/cli/v2/internal/functions/list"
new_ "github.com/supabase/cli/v2/internal/functions/new"
"github.com/supabase/cli/v2/internal/functions/serve"
"github.com/supabase/cli/v2/internal/utils"
"github.com/supabase/cli/v2/internal/utils/flags"
"github.com/supabase/cli/v2/pkg/cast"
)

var (
Expand Down
8 changes: 4 additions & 4 deletions cmd/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import (
"github.com/go-errors/errors"
"github.com/spf13/afero"
"github.com/spf13/cobra"
"github.com/supabase/cli/internal/gen/keys"
"github.com/supabase/cli/internal/gen/types"
"github.com/supabase/cli/internal/utils"
"github.com/supabase/cli/internal/utils/flags"
"github.com/supabase/cli/v2/internal/gen/keys"
"github.com/supabase/cli/v2/internal/gen/types"
"github.com/supabase/cli/v2/internal/utils"
"github.com/supabase/cli/v2/internal/utils/flags"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions cmd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"github.com/spf13/afero"
"github.com/spf13/cobra"
"github.com/spf13/viper"
_init "github.com/supabase/cli/internal/init"
"github.com/supabase/cli/internal/utils"
_init "github.com/supabase/cli/v2/internal/init"
"github.com/supabase/cli/v2/internal/utils"
)

var (
Expand Down
46 changes: 23 additions & 23 deletions cmd/inspect.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,30 @@ import (

"github.com/spf13/afero"
"github.com/spf13/cobra"
"github.com/supabase/cli/internal/inspect/bloat"
"github.com/supabase/cli/internal/inspect/blocking"
"github.com/supabase/cli/internal/inspect/cache"
"github.com/supabase/cli/internal/utils"
"github.com/supabase/cli/internal/utils/flags"
"github.com/supabase/cli/v2/internal/inspect/bloat"
"github.com/supabase/cli/v2/internal/inspect/blocking"
"github.com/supabase/cli/v2/internal/inspect/cache"
"github.com/supabase/cli/v2/internal/utils"
"github.com/supabase/cli/v2/internal/utils/flags"

"github.com/supabase/cli/internal/inspect"
"github.com/supabase/cli/internal/inspect/calls"
"github.com/supabase/cli/internal/inspect/index_sizes"
"github.com/supabase/cli/internal/inspect/index_usage"
"github.com/supabase/cli/internal/inspect/locks"
"github.com/supabase/cli/internal/inspect/long_running_queries"
"github.com/supabase/cli/internal/inspect/outliers"
"github.com/supabase/cli/internal/inspect/replication_slots"
"github.com/supabase/cli/internal/inspect/role_configs"
"github.com/supabase/cli/internal/inspect/role_connections"
"github.com/supabase/cli/internal/inspect/seq_scans"
"github.com/supabase/cli/internal/inspect/table_index_sizes"
"github.com/supabase/cli/internal/inspect/table_record_counts"
"github.com/supabase/cli/internal/inspect/table_sizes"
"github.com/supabase/cli/internal/inspect/total_index_size"
"github.com/supabase/cli/internal/inspect/total_table_sizes"
"github.com/supabase/cli/internal/inspect/unused_indexes"
"github.com/supabase/cli/internal/inspect/vacuum_stats"
"github.com/supabase/cli/v2/internal/inspect"
"github.com/supabase/cli/v2/internal/inspect/calls"
"github.com/supabase/cli/v2/internal/inspect/index_sizes"
"github.com/supabase/cli/v2/internal/inspect/index_usage"
"github.com/supabase/cli/v2/internal/inspect/locks"
"github.com/supabase/cli/v2/internal/inspect/long_running_queries"
"github.com/supabase/cli/v2/internal/inspect/outliers"
"github.com/supabase/cli/v2/internal/inspect/replication_slots"
"github.com/supabase/cli/v2/internal/inspect/role_configs"
"github.com/supabase/cli/v2/internal/inspect/role_connections"
"github.com/supabase/cli/v2/internal/inspect/seq_scans"
"github.com/supabase/cli/v2/internal/inspect/table_index_sizes"
"github.com/supabase/cli/v2/internal/inspect/table_record_counts"
"github.com/supabase/cli/v2/internal/inspect/table_sizes"
"github.com/supabase/cli/v2/internal/inspect/total_index_size"
"github.com/supabase/cli/v2/internal/inspect/total_table_sizes"
"github.com/supabase/cli/v2/internal/inspect/unused_indexes"
"github.com/supabase/cli/v2/internal/inspect/vacuum_stats"
)

var (
Expand Down
6 changes: 3 additions & 3 deletions cmd/link.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"github.com/spf13/afero"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"github.com/supabase/cli/internal/link"
"github.com/supabase/cli/internal/utils"
"github.com/supabase/cli/internal/utils/flags"
"github.com/supabase/cli/v2/internal/link"
"github.com/supabase/cli/v2/internal/utils"
"github.com/supabase/cli/v2/internal/utils/flags"
"golang.org/x/term"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"github.com/go-errors/errors"
"github.com/spf13/afero"
"github.com/spf13/cobra"
"github.com/supabase/cli/internal/login"
"github.com/supabase/cli/internal/utils"
"github.com/supabase/cli/v2/internal/login"
"github.com/supabase/cli/v2/internal/utils"
"golang.org/x/term"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/logout.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/spf13/afero"
"github.com/spf13/cobra"
"github.com/supabase/cli/internal/logout"
"github.com/supabase/cli/v2/internal/logout"
)

var (
Expand Down
16 changes: 8 additions & 8 deletions cmd/migration.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ import (
"github.com/spf13/afero"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"github.com/supabase/cli/internal/migration/fetch"
"github.com/supabase/cli/internal/migration/list"
"github.com/supabase/cli/internal/migration/new"
"github.com/supabase/cli/internal/migration/repair"
"github.com/supabase/cli/internal/migration/squash"
"github.com/supabase/cli/internal/migration/up"
"github.com/supabase/cli/internal/utils"
"github.com/supabase/cli/internal/utils/flags"
"github.com/supabase/cli/v2/internal/migration/fetch"
"github.com/supabase/cli/v2/internal/migration/list"
"github.com/supabase/cli/v2/internal/migration/new"
"github.com/supabase/cli/v2/internal/migration/repair"
"github.com/supabase/cli/v2/internal/migration/squash"
"github.com/supabase/cli/v2/internal/migration/up"
"github.com/supabase/cli/v2/internal/utils"
"github.com/supabase/cli/v2/internal/utils/flags"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions cmd/orgs.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package cmd

import (
"github.com/spf13/cobra"
"github.com/supabase/cli/internal/orgs/create"
"github.com/supabase/cli/internal/orgs/list"
"github.com/supabase/cli/v2/internal/orgs/create"
"github.com/supabase/cli/v2/internal/orgs/list"
)

var (
Expand Down
6 changes: 3 additions & 3 deletions cmd/postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package cmd
import (
"github.com/spf13/afero"
"github.com/spf13/cobra"
"github.com/supabase/cli/internal/postgresConfig/get"
"github.com/supabase/cli/internal/postgresConfig/update"
"github.com/supabase/cli/internal/utils/flags"
"github.com/supabase/cli/v2/internal/postgresConfig/get"
"github.com/supabase/cli/v2/internal/postgresConfig/update"
"github.com/supabase/cli/v2/internal/utils/flags"
)

var (
Expand Down
14 changes: 7 additions & 7 deletions cmd/projects.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ import (
"github.com/spf13/afero"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"github.com/supabase/cli/internal/projects/apiKeys"
"github.com/supabase/cli/internal/projects/create"
"github.com/supabase/cli/internal/projects/delete"
"github.com/supabase/cli/internal/projects/list"
"github.com/supabase/cli/internal/utils"
"github.com/supabase/cli/internal/utils/flags"
"github.com/supabase/cli/pkg/api"
"github.com/supabase/cli/v2/internal/projects/apiKeys"
"github.com/supabase/cli/v2/internal/projects/create"
"github.com/supabase/cli/v2/internal/projects/delete"
"github.com/supabase/cli/v2/internal/projects/list"
"github.com/supabase/cli/v2/internal/utils"
"github.com/supabase/cli/v2/internal/utils/flags"
"github.com/supabase/cli/v2/pkg/api"
"golang.org/x/term"
)

Expand Down
6 changes: 3 additions & 3 deletions cmd/restrictions.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package cmd

import (
"github.com/spf13/cobra"
"github.com/supabase/cli/internal/restrictions/get"
"github.com/supabase/cli/internal/restrictions/update"
"github.com/supabase/cli/internal/utils/flags"
"github.com/supabase/cli/v2/internal/restrictions/get"
"github.com/supabase/cli/v2/internal/restrictions/update"
"github.com/supabase/cli/v2/internal/utils/flags"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import (
"github.com/spf13/afero"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"github.com/supabase/cli/internal/utils"
"github.com/supabase/cli/internal/utils/flags"
"github.com/supabase/cli/v2/internal/utils"
"github.com/supabase/cli/v2/internal/utils/flags"
"golang.org/x/mod/semver"
)

Expand Down
8 changes: 4 additions & 4 deletions cmd/secrets.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package cmd
import (
"github.com/spf13/afero"
"github.com/spf13/cobra"
"github.com/supabase/cli/internal/secrets/list"
"github.com/supabase/cli/internal/secrets/set"
"github.com/supabase/cli/internal/secrets/unset"
"github.com/supabase/cli/internal/utils/flags"
"github.com/supabase/cli/v2/internal/secrets/list"
"github.com/supabase/cli/v2/internal/secrets/set"
"github.com/supabase/cli/v2/internal/secrets/unset"
"github.com/supabase/cli/v2/internal/utils/flags"
)

var (
Expand Down
6 changes: 3 additions & 3 deletions cmd/seed.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (

"github.com/spf13/afero"
"github.com/spf13/cobra"
"github.com/supabase/cli/internal/seed/buckets"
"github.com/supabase/cli/internal/utils"
"github.com/supabase/cli/internal/utils/flags"
"github.com/supabase/cli/v2/internal/seed/buckets"
"github.com/supabase/cli/v2/internal/utils"
"github.com/supabase/cli/v2/internal/utils/flags"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion cmd/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import (
"github.com/spf13/afero"
"github.com/spf13/cobra"
"github.com/supabase/cli/internal/services"
"github.com/supabase/cli/v2/internal/services"
)

var (
Expand Down
Loading

0 comments on commit eb0e5d6

Please sign in to comment.