File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 55 "os"
66
77 "github.com/nauticalab/devenv-engine/internal/cli"
8- "github.com/nauticalab/devenv-engine/internal/config"
98 "github.com/spf13/cobra"
109)
1110
@@ -21,7 +20,7 @@ var authListCmd = &cobra.Command{
2120 Long : `Display the current authentication information, including the authenticated user and their developer identity.` ,
2221 Run : func (cmd * cobra.Command , args []string ) {
2322 // Load configuration
24- cfg , err := config .LoadCLIConfig ()
23+ cfg , err := cli .LoadCLIConfig ()
2524 if err != nil {
2625 fmt .Fprintf (os .Stderr , "Error loading config: %v\n " , err )
2726 os .Exit (1 )
Original file line number Diff line number Diff line change 1- package config
1+ package cli
22
33import (
44 "fmt"
Original file line number Diff line number Diff line change 66 "os"
77 "text/tabwriter"
88
9- "github.com/nauticalab/devenv-engine/internal/config "
9+ "github.com/nauticalab/devenv-engine/internal/cli "
1010 "github.com/nauticalab/devenv-engine/internal/manager/api"
1111 "github.com/nauticalab/devenv-engine/internal/manager/auth"
1212 "github.com/nauticalab/devenv-engine/internal/manager/client"
@@ -95,9 +95,9 @@ func printPodsTable(pods []api.Pod) {
9595}
9696
9797// LoadConfig loads the CLI configuration and applies overrides
98- func LoadConfig (managerURLOverride string ) (* config .CLIConfig , error ) {
98+ func LoadConfig (managerURLOverride string ) (* cli .CLIConfig , error ) {
9999 // Load configuration
100- cfg , err := config .LoadCLIConfig ()
100+ cfg , err := cli .LoadCLIConfig ()
101101 if err != nil {
102102 return nil , fmt .Errorf ("failed to load configuration: %w" , err )
103103 }
You can’t perform that action at this time.
0 commit comments