Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions cmd/blueprintvalidate.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import (

"github.com/spf13/cobra"

"github.com/render-oss/cli/pkg/client"
bptypes "github.com/render-oss/cli/pkg/client/blueprints"
"github.com/render-oss/cli/pkg/command"
"github.com/render-oss/cli/pkg/config"
"github.com/render-oss/cli/v2/pkg/client"
bptypes "github.com/render-oss/cli/v2/pkg/client/blueprints"
"github.com/render-oss/cli/v2/pkg/command"
"github.com/render-oss/cli/v2/pkg/config"
)

var blueprintValidateCmd = &cobra.Command{
Expand Down
6 changes: 3 additions & 3 deletions cmd/deploycancel.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
tea "github.com/charmbracelet/bubbletea"
"github.com/spf13/cobra"

"github.com/render-oss/cli/pkg/command"
"github.com/render-oss/cli/pkg/text"
"github.com/render-oss/cli/pkg/tui/views"
"github.com/render-oss/cli/v2/pkg/command"
"github.com/render-oss/cli/v2/pkg/text"
"github.com/render-oss/cli/v2/pkg/tui/views"
)

var deployCancelCmd = &cobra.Command{
Expand Down
18 changes: 9 additions & 9 deletions cmd/deploycreate.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ import (
tea "github.com/charmbracelet/bubbletea"
"github.com/spf13/cobra"

"github.com/render-oss/cli/pkg/client"
"github.com/render-oss/cli/pkg/command"
"github.com/render-oss/cli/pkg/dependencies"
"github.com/render-oss/cli/pkg/deploy"
"github.com/render-oss/cli/pkg/resource"
"github.com/render-oss/cli/pkg/text"
"github.com/render-oss/cli/pkg/tui/flows"
"github.com/render-oss/cli/pkg/tui/views"
"github.com/render-oss/cli/pkg/types"
"github.com/render-oss/cli/v2/pkg/client"
"github.com/render-oss/cli/v2/pkg/command"
"github.com/render-oss/cli/v2/pkg/dependencies"
"github.com/render-oss/cli/v2/pkg/deploy"
"github.com/render-oss/cli/v2/pkg/resource"
"github.com/render-oss/cli/v2/pkg/text"
"github.com/render-oss/cli/v2/pkg/tui/flows"
"github.com/render-oss/cli/v2/pkg/tui/views"
"github.com/render-oss/cli/v2/pkg/types"
)

var deployCmd = &cobra.Command{
Expand Down
18 changes: 9 additions & 9 deletions cmd/deploylist.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ import (
tea "github.com/charmbracelet/bubbletea"
"github.com/spf13/cobra"

"github.com/render-oss/cli/pkg/client"
"github.com/render-oss/cli/pkg/command"
"github.com/render-oss/cli/pkg/dashboard"
"github.com/render-oss/cli/pkg/dependencies"
"github.com/render-oss/cli/pkg/deploy"
"github.com/render-oss/cli/pkg/resource"
"github.com/render-oss/cli/pkg/text"
"github.com/render-oss/cli/pkg/tui/flows"
"github.com/render-oss/cli/pkg/tui/views"
"github.com/render-oss/cli/v2/pkg/client"
"github.com/render-oss/cli/v2/pkg/command"
"github.com/render-oss/cli/v2/pkg/dashboard"
"github.com/render-oss/cli/v2/pkg/dependencies"
"github.com/render-oss/cli/v2/pkg/deploy"
"github.com/render-oss/cli/v2/pkg/resource"
"github.com/render-oss/cli/v2/pkg/text"
"github.com/render-oss/cli/v2/pkg/tui/flows"
"github.com/render-oss/cli/v2/pkg/tui/views"
)

var deployListCmd = &cobra.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import (
"github.com/spf13/cobra"

"github.com/render-oss/cli/pkg/dashboard"
"github.com/render-oss/cli/v2/pkg/dashboard"
)

var docsCmd = &cobra.Command{
Expand Down
14 changes: 7 additions & 7 deletions cmd/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import (
tea "github.com/charmbracelet/bubbletea"
"github.com/spf13/cobra"

"github.com/render-oss/cli/pkg/client"
"github.com/render-oss/cli/pkg/command"
"github.com/render-oss/cli/pkg/project"
"github.com/render-oss/cli/pkg/text"
"github.com/render-oss/cli/pkg/tui"
"github.com/render-oss/cli/pkg/tui/flows"
"github.com/render-oss/cli/pkg/tui/views"
"github.com/render-oss/cli/v2/pkg/client"
"github.com/render-oss/cli/v2/pkg/command"
"github.com/render-oss/cli/v2/pkg/project"
"github.com/render-oss/cli/v2/pkg/text"
"github.com/render-oss/cli/v2/pkg/tui"
"github.com/render-oss/cli/v2/pkg/tui/flows"
"github.com/render-oss/cli/v2/pkg/tui/views"
)

var environmentCmd = &cobra.Command{
Expand Down
4 changes: 2 additions & 2 deletions cmd/flagusages.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"strings"

"github.com/charmbracelet/lipgloss"
"github.com/render-oss/cli/pkg/command"
"github.com/render-oss/cli/pkg/style"
"github.com/render-oss/cli/v2/pkg/command"
"github.com/render-oss/cli/v2/pkg/style"
"github.com/spf13/pflag"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/helptemplate.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"strings"

"github.com/charmbracelet/lipgloss"
"github.com/render-oss/cli/pkg/cfg"
"github.com/render-oss/cli/pkg/style"
"github.com/render-oss/cli/v2/pkg/cfg"
"github.com/render-oss/cli/v2/pkg/style"
"github.com/spf13/cobra"
)

Expand Down
10 changes: 5 additions & 5 deletions cmd/instancelist.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import (
tea "github.com/charmbracelet/bubbletea"
"github.com/spf13/cobra"

"github.com/render-oss/cli/pkg/client"
"github.com/render-oss/cli/pkg/command"
"github.com/render-oss/cli/pkg/resource"
"github.com/render-oss/cli/pkg/text"
"github.com/render-oss/cli/pkg/tui/views"
"github.com/render-oss/cli/v2/pkg/client"
"github.com/render-oss/cli/v2/pkg/command"
"github.com/render-oss/cli/v2/pkg/resource"
"github.com/render-oss/cli/v2/pkg/text"
"github.com/render-oss/cli/v2/pkg/tui/views"
)

var instanceListCmd = &cobra.Command{
Expand Down
6 changes: 3 additions & 3 deletions cmd/jobcancel.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
tea "github.com/charmbracelet/bubbletea"
"github.com/spf13/cobra"

"github.com/render-oss/cli/pkg/command"
"github.com/render-oss/cli/pkg/text"
"github.com/render-oss/cli/pkg/tui/views"
"github.com/render-oss/cli/v2/pkg/command"
"github.com/render-oss/cli/v2/pkg/text"
"github.com/render-oss/cli/v2/pkg/tui/views"
)

var jobCancelCmd = &cobra.Command{
Expand Down
16 changes: 8 additions & 8 deletions cmd/jobcreate.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ import (
tea "github.com/charmbracelet/bubbletea"
"github.com/spf13/cobra"

"github.com/render-oss/cli/pkg/client"
clientjob "github.com/render-oss/cli/pkg/client/jobs"
"github.com/render-oss/cli/pkg/command"
"github.com/render-oss/cli/pkg/dependencies"
"github.com/render-oss/cli/pkg/resource"
"github.com/render-oss/cli/pkg/text"
"github.com/render-oss/cli/pkg/tui/flows"
"github.com/render-oss/cli/pkg/tui/views"
"github.com/render-oss/cli/v2/pkg/client"
clientjob "github.com/render-oss/cli/v2/pkg/client/jobs"
"github.com/render-oss/cli/v2/pkg/command"
"github.com/render-oss/cli/v2/pkg/dependencies"
"github.com/render-oss/cli/v2/pkg/resource"
"github.com/render-oss/cli/v2/pkg/text"
"github.com/render-oss/cli/v2/pkg/tui/flows"
"github.com/render-oss/cli/v2/pkg/tui/views"
)

var JobCreateCmd = &cobra.Command{
Expand Down
18 changes: 9 additions & 9 deletions cmd/joblist.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ import (
tea "github.com/charmbracelet/bubbletea"
"github.com/spf13/cobra"

"github.com/render-oss/cli/pkg/client"
clientjob "github.com/render-oss/cli/pkg/client/jobs"
"github.com/render-oss/cli/pkg/command"
"github.com/render-oss/cli/pkg/dependencies"
"github.com/render-oss/cli/pkg/job"
"github.com/render-oss/cli/pkg/resource"
"github.com/render-oss/cli/pkg/text"
"github.com/render-oss/cli/pkg/tui/flows"
"github.com/render-oss/cli/pkg/tui/views"
"github.com/render-oss/cli/v2/pkg/client"
clientjob "github.com/render-oss/cli/v2/pkg/client/jobs"
"github.com/render-oss/cli/v2/pkg/command"
"github.com/render-oss/cli/v2/pkg/dependencies"
"github.com/render-oss/cli/v2/pkg/job"
"github.com/render-oss/cli/v2/pkg/resource"
"github.com/render-oss/cli/v2/pkg/text"
"github.com/render-oss/cli/v2/pkg/tui/flows"
"github.com/render-oss/cli/v2/pkg/tui/views"
)

var jobListCmd = &cobra.Command{
Expand Down
12 changes: 6 additions & 6 deletions cmd/kvcli.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import (
tea "github.com/charmbracelet/bubbletea"
"github.com/spf13/cobra"

"github.com/render-oss/cli/pkg/client"
"github.com/render-oss/cli/pkg/command"
"github.com/render-oss/cli/pkg/keyvalue"
"github.com/render-oss/cli/pkg/tui"
"github.com/render-oss/cli/pkg/tui/flows"
"github.com/render-oss/cli/pkg/tui/views"
"github.com/render-oss/cli/v2/pkg/client"
"github.com/render-oss/cli/v2/pkg/command"
"github.com/render-oss/cli/v2/pkg/keyvalue"
"github.com/render-oss/cli/v2/pkg/tui"
"github.com/render-oss/cli/v2/pkg/tui/flows"
"github.com/render-oss/cli/v2/pkg/tui/views"
)

// redisCLICmd represents the redisCLI command
Expand Down
2 changes: 1 addition & 1 deletion cmd/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import (
"github.com/spf13/cobra"

"github.com/render-oss/cli/pkg/tui/views"
"github.com/render-oss/cli/v2/pkg/tui/views"
)

var loginCmd = &cobra.Command{
Expand Down
10 changes: 5 additions & 5 deletions cmd/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import (
"github.com/spf13/cobra"
"gopkg.in/yaml.v3"

lclient "github.com/render-oss/cli/pkg/client/logs"
"github.com/render-oss/cli/pkg/command"
"github.com/render-oss/cli/pkg/logs"
"github.com/render-oss/cli/pkg/tui/flows"
"github.com/render-oss/cli/pkg/tui/views"
lclient "github.com/render-oss/cli/v2/pkg/client/logs"
"github.com/render-oss/cli/v2/pkg/command"
"github.com/render-oss/cli/v2/pkg/logs"
"github.com/render-oss/cli/v2/pkg/tui/flows"
"github.com/render-oss/cli/v2/pkg/tui/views"
)

func NewLogsCmd(deps flows.LogFlowDeps) *cobra.Command {
Expand Down
8 changes: 4 additions & 4 deletions cmd/objectdelete.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import (

"github.com/spf13/cobra"

"github.com/render-oss/cli/pkg/cfg"
"github.com/render-oss/cli/pkg/command"
"github.com/render-oss/cli/pkg/storage"
"github.com/render-oss/cli/pkg/text"
"github.com/render-oss/cli/v2/pkg/cfg"
"github.com/render-oss/cli/v2/pkg/command"
"github.com/render-oss/cli/v2/pkg/storage"
"github.com/render-oss/cli/v2/pkg/text"
)

type ObjectDeleteInput struct {
Expand Down
8 changes: 4 additions & 4 deletions cmd/objectget.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (

"github.com/spf13/cobra"

"github.com/render-oss/cli/pkg/cfg"
"github.com/render-oss/cli/pkg/command"
"github.com/render-oss/cli/pkg/storage"
"github.com/render-oss/cli/pkg/text"
"github.com/render-oss/cli/v2/pkg/cfg"
"github.com/render-oss/cli/v2/pkg/command"
"github.com/render-oss/cli/v2/pkg/storage"
"github.com/render-oss/cli/v2/pkg/text"
)

type ObjectGetInput struct {
Expand Down
8 changes: 4 additions & 4 deletions cmd/objectlist.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (

"github.com/spf13/cobra"

"github.com/render-oss/cli/pkg/cfg"
"github.com/render-oss/cli/pkg/command"
"github.com/render-oss/cli/pkg/storage"
"github.com/render-oss/cli/pkg/text"
"github.com/render-oss/cli/v2/pkg/cfg"
"github.com/render-oss/cli/v2/pkg/command"
"github.com/render-oss/cli/v2/pkg/storage"
"github.com/render-oss/cli/v2/pkg/text"
)

type ObjectListInput struct {
Expand Down
8 changes: 4 additions & 4 deletions cmd/objectput.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (

"github.com/spf13/cobra"

"github.com/render-oss/cli/pkg/cfg"
"github.com/render-oss/cli/pkg/command"
"github.com/render-oss/cli/pkg/storage"
"github.com/render-oss/cli/pkg/text"
"github.com/render-oss/cli/v2/pkg/cfg"
"github.com/render-oss/cli/v2/pkg/command"
"github.com/render-oss/cli/v2/pkg/storage"
"github.com/render-oss/cli/v2/pkg/text"
)

type ObjectPutInput struct {
Expand Down
4 changes: 2 additions & 2 deletions cmd/palette.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"

tea "github.com/charmbracelet/bubbletea"
"github.com/render-oss/cli/pkg/command"
"github.com/render-oss/cli/pkg/tui/views"
"github.com/render-oss/cli/v2/pkg/command"
"github.com/render-oss/cli/v2/pkg/tui/views"
)

func InteractivePalette(ctx context.Context, commands []views.PaletteCommand, breadcrumb string) tea.Cmd {
Expand Down
12 changes: 6 additions & 6 deletions cmd/pgcli.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import (
tea "github.com/charmbracelet/bubbletea"
"github.com/spf13/cobra"

"github.com/render-oss/cli/pkg/client"
"github.com/render-oss/cli/pkg/command"
"github.com/render-oss/cli/pkg/postgres"
"github.com/render-oss/cli/pkg/tui"
"github.com/render-oss/cli/pkg/tui/flows"
"github.com/render-oss/cli/pkg/tui/views"
"github.com/render-oss/cli/v2/pkg/client"
"github.com/render-oss/cli/v2/pkg/command"
"github.com/render-oss/cli/v2/pkg/postgres"
"github.com/render-oss/cli/v2/pkg/tui"
"github.com/render-oss/cli/v2/pkg/tui/flows"
"github.com/render-oss/cli/v2/pkg/tui/views"
)

// pgcliCmd represents the pgcli command
Expand Down
12 changes: 6 additions & 6 deletions cmd/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import (
tea "github.com/charmbracelet/bubbletea"
"github.com/spf13/cobra"

"github.com/render-oss/cli/pkg/client"
"github.com/render-oss/cli/pkg/command"
"github.com/render-oss/cli/pkg/text"
"github.com/render-oss/cli/pkg/tui"
"github.com/render-oss/cli/pkg/tui/flows"
"github.com/render-oss/cli/pkg/tui/views"
"github.com/render-oss/cli/v2/pkg/client"
"github.com/render-oss/cli/v2/pkg/command"
"github.com/render-oss/cli/v2/pkg/text"
"github.com/render-oss/cli/v2/pkg/tui"
"github.com/render-oss/cli/v2/pkg/tui/flows"
"github.com/render-oss/cli/v2/pkg/tui/views"
)

var projectCmd = &cobra.Command{
Expand Down
14 changes: 7 additions & 7 deletions cmd/psql.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ import (
tea "github.com/charmbracelet/bubbletea"
"github.com/spf13/cobra"

"github.com/render-oss/cli/pkg/client"
"github.com/render-oss/cli/pkg/command"
"github.com/render-oss/cli/pkg/postgres"
"github.com/render-oss/cli/pkg/text"
"github.com/render-oss/cli/pkg/tui"
"github.com/render-oss/cli/pkg/tui/flows"
"github.com/render-oss/cli/pkg/tui/views"
"github.com/render-oss/cli/v2/pkg/client"
"github.com/render-oss/cli/v2/pkg/command"
"github.com/render-oss/cli/v2/pkg/postgres"
"github.com/render-oss/cli/v2/pkg/text"
"github.com/render-oss/cli/v2/pkg/tui"
"github.com/render-oss/cli/v2/pkg/tui/flows"
"github.com/render-oss/cli/v2/pkg/tui/views"
)

// psqlCmd represents the psql command
Expand Down
Loading