diff --git a/cmd/analytics/analytics.go b/cmd/analytics/analytics.go index 861ef9de..6c714195 100644 --- a/cmd/analytics/analytics.go +++ b/cmd/analytics/analytics.go @@ -1,7 +1,7 @@ package analytics import ( - "ldcli/cmd/cliflags" + "github.com/launchdarkly/ldcli/cmd/cliflags" "github.com/spf13/cobra" "github.com/spf13/pflag" diff --git a/cmd/cmdtest.go b/cmd/cmdtest.go index f0b12783..dde3b47e 100644 --- a/cmd/cmdtest.go +++ b/cmd/cmdtest.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/require" - "ldcli/internal/analytics" + "github.com/launchdarkly/ldcli/internal/analytics" ) var StubbedSuccessResponse = `{ diff --git a/cmd/config/config.go b/cmd/config/config.go index 2d764841..fc3f3697 100644 --- a/cmd/config/config.go +++ b/cmd/config/config.go @@ -11,12 +11,12 @@ import ( "github.com/spf13/viper" "gopkg.in/yaml.v3" - cmdAnalytics "ldcli/cmd/analytics" - "ldcli/cmd/cliflags" - "ldcli/internal/analytics" - "ldcli/internal/config" - "ldcli/internal/errors" - "ldcli/internal/output" + cmdAnalytics "github.com/launchdarkly/ldcli/cmd/analytics" + "github.com/launchdarkly/ldcli/cmd/cliflags" + "github.com/launchdarkly/ldcli/internal/analytics" + "github.com/launchdarkly/ldcli/internal/config" + "github.com/launchdarkly/ldcli/internal/errors" + "github.com/launchdarkly/ldcli/internal/output" ) const ( diff --git a/cmd/config/config_test.go b/cmd/config/config_test.go index 698e895d..3923fcc7 100644 --- a/cmd/config/config_test.go +++ b/cmd/config/config_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "ldcli/cmd" - "ldcli/internal/analytics" + "github.com/launchdarkly/ldcli/cmd" + "github.com/launchdarkly/ldcli/internal/analytics" ) func TestNoFlag(t *testing.T) { diff --git a/cmd/flags/archive.go b/cmd/flags/archive.go index 121d7c9a..dcb599e5 100644 --- a/cmd/flags/archive.go +++ b/cmd/flags/archive.go @@ -6,12 +6,12 @@ import ( "github.com/spf13/cobra" "github.com/spf13/viper" - "ldcli/cmd/cliflags" - resourcescmd "ldcli/cmd/resources" - "ldcli/cmd/validators" - "ldcli/internal/errors" - "ldcli/internal/output" - "ldcli/internal/resources" + "github.com/launchdarkly/ldcli/cmd/cliflags" + resourcescmd "github.com/launchdarkly/ldcli/cmd/resources" + "github.com/launchdarkly/ldcli/cmd/validators" + "github.com/launchdarkly/ldcli/internal/errors" + "github.com/launchdarkly/ldcli/internal/output" + "github.com/launchdarkly/ldcli/internal/resources" ) func NewArchiveCmd(client resources.Client) *cobra.Command { diff --git a/cmd/flags/archive_test.go b/cmd/flags/archive_test.go index 413994c8..c8d1ac7c 100644 --- a/cmd/flags/archive_test.go +++ b/cmd/flags/archive_test.go @@ -6,9 +6,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "ldcli/cmd" - "ldcli/internal/analytics" - "ldcli/internal/resources" + "github.com/launchdarkly/ldcli/cmd" + "github.com/launchdarkly/ldcli/internal/analytics" + "github.com/launchdarkly/ldcli/internal/resources" ) func TestArchive(t *testing.T) { diff --git a/cmd/flags/toggle.go b/cmd/flags/toggle.go index 95efa1f7..c57f912f 100644 --- a/cmd/flags/toggle.go +++ b/cmd/flags/toggle.go @@ -6,12 +6,12 @@ import ( "github.com/spf13/cobra" "github.com/spf13/viper" - "ldcli/cmd/cliflags" - resourcescmd "ldcli/cmd/resources" - "ldcli/cmd/validators" - "ldcli/internal/errors" - "ldcli/internal/output" - "ldcli/internal/resources" + "github.com/launchdarkly/ldcli/cmd/cliflags" + resourcescmd "github.com/launchdarkly/ldcli/cmd/resources" + "github.com/launchdarkly/ldcli/cmd/validators" + "github.com/launchdarkly/ldcli/internal/errors" + "github.com/launchdarkly/ldcli/internal/output" + "github.com/launchdarkly/ldcli/internal/resources" ) func NewToggleOnCmd(client resources.Client) *cobra.Command { diff --git a/cmd/flags/toggle_test.go b/cmd/flags/toggle_test.go index a241c35d..58f142e9 100644 --- a/cmd/flags/toggle_test.go +++ b/cmd/flags/toggle_test.go @@ -6,9 +6,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "ldcli/cmd" - "ldcli/internal/analytics" - "ldcli/internal/resources" + "github.com/launchdarkly/ldcli/cmd" + "github.com/launchdarkly/ldcli/internal/analytics" + "github.com/launchdarkly/ldcli/internal/resources" ) func TestToggleOn(t *testing.T) { diff --git a/cmd/members/invite.go b/cmd/members/invite.go index af55889f..4ac394ba 100644 --- a/cmd/members/invite.go +++ b/cmd/members/invite.go @@ -7,13 +7,13 @@ import ( "github.com/spf13/cobra" "github.com/spf13/viper" - "ldcli/cmd/cliflags" - resourcescmd "ldcli/cmd/resources" - "ldcli/cmd/validators" - "ldcli/internal/errors" - "ldcli/internal/members" - "ldcli/internal/output" - "ldcli/internal/resources" + "github.com/launchdarkly/ldcli/cmd/cliflags" + resourcescmd "github.com/launchdarkly/ldcli/cmd/resources" + "github.com/launchdarkly/ldcli/cmd/validators" + "github.com/launchdarkly/ldcli/internal/errors" + "github.com/launchdarkly/ldcli/internal/members" + "github.com/launchdarkly/ldcli/internal/output" + "github.com/launchdarkly/ldcli/internal/resources" ) func NewMembersInviteCmd(client resources.Client) *cobra.Command { diff --git a/cmd/members/invite_test.go b/cmd/members/invite_test.go index 72e90d95..bb218b51 100644 --- a/cmd/members/invite_test.go +++ b/cmd/members/invite_test.go @@ -6,9 +6,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "ldcli/cmd" - "ldcli/internal/analytics" - "ldcli/internal/resources" + "github.com/launchdarkly/ldcli/cmd" + "github.com/launchdarkly/ldcli/internal/analytics" + "github.com/launchdarkly/ldcli/internal/resources" ) func TestInvite(t *testing.T) { diff --git a/cmd/quickstart.go b/cmd/quickstart.go index 439b04da..fe40523f 100644 --- a/cmd/quickstart.go +++ b/cmd/quickstart.go @@ -9,13 +9,13 @@ import ( "github.com/spf13/cobra" "github.com/spf13/viper" - cmdAnalytics "ldcli/cmd/analytics" - "ldcli/cmd/cliflags" - "ldcli/cmd/validators" - "ldcli/internal/analytics" - "ldcli/internal/environments" - "ldcli/internal/flags" - "ldcli/internal/quickstart" + cmdAnalytics "github.com/launchdarkly/ldcli/cmd/analytics" + "github.com/launchdarkly/ldcli/cmd/cliflags" + "github.com/launchdarkly/ldcli/cmd/validators" + "github.com/launchdarkly/ldcli/internal/analytics" + "github.com/launchdarkly/ldcli/internal/environments" + "github.com/launchdarkly/ldcli/internal/flags" + "github.com/launchdarkly/ldcli/internal/quickstart" ) func NewQuickStartCmd( diff --git a/cmd/resources/gen_resources.go b/cmd/resources/gen_resources.go index a46f71ba..650876b6 100644 --- a/cmd/resources/gen_resources.go +++ b/cmd/resources/gen_resources.go @@ -10,7 +10,7 @@ import ( "log" "text/template" - "ldcli/cmd/resources" + "github.com/launchdarkly/ldcli/cmd/resources" ) const ( diff --git a/cmd/resources/gen_resources_test.go b/cmd/resources/gen_resources_test.go index f239115a..db5b04b0 100644 --- a/cmd/resources/gen_resources_test.go +++ b/cmd/resources/gen_resources_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "ldcli/cmd/resources" + "github.com/launchdarkly/ldcli/cmd/resources" ) func TestGetTemplateData(t *testing.T) { diff --git a/cmd/resources/resource_cmds.go b/cmd/resources/resource_cmds.go index 3da8c2e2..5d8ddb01 100644 --- a/cmd/resources/resource_cmds.go +++ b/cmd/resources/resource_cmds.go @@ -5,8 +5,8 @@ package resources import ( "github.com/spf13/cobra" - "ldcli/internal/analytics" - "ldcli/internal/resources" + "github.com/launchdarkly/ldcli/internal/analytics" + "github.com/launchdarkly/ldcli/internal/resources" ) func AddAllResourceCmds( diff --git a/cmd/resources/resource_cmds.tmpl b/cmd/resources/resource_cmds.tmpl index cf11d2c3..9c6c142d 100644 --- a/cmd/resources/resource_cmds.tmpl +++ b/cmd/resources/resource_cmds.tmpl @@ -5,8 +5,8 @@ package resources import ( "github.com/spf13/cobra" - "ldcli/internal/analytics" - "ldcli/internal/resources" + "github.com/launchdarkly/ldcli/internal/analytics" + "github.com/launchdarkly/ldcli/internal/resources" ) func AddAllResourceCmds( diff --git a/cmd/resources/resource_cmds_test.go b/cmd/resources/resource_cmds_test.go index 50b8e77e..8bc95379 100644 --- a/cmd/resources/resource_cmds_test.go +++ b/cmd/resources/resource_cmds_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "ldcli/cmd" - "ldcli/internal/analytics" + "github.com/launchdarkly/ldcli/cmd" + "github.com/launchdarkly/ldcli/internal/analytics" ) func TestCreateTeam(t *testing.T) { diff --git a/cmd/resources/resources.go b/cmd/resources/resources.go index 264c82ed..c4b5c3ef 100644 --- a/cmd/resources/resources.go +++ b/cmd/resources/resources.go @@ -15,13 +15,13 @@ import ( "github.com/spf13/cobra" "github.com/spf13/viper" - cmdAnalytics "ldcli/cmd/analytics" - "ldcli/cmd/cliflags" - "ldcli/cmd/validators" - "ldcli/internal/analytics" - "ldcli/internal/errors" - "ldcli/internal/output" - "ldcli/internal/resources" + cmdAnalytics "github.com/launchdarkly/ldcli/cmd/analytics" + "github.com/launchdarkly/ldcli/cmd/cliflags" + "github.com/launchdarkly/ldcli/cmd/validators" + "github.com/launchdarkly/ldcli/internal/analytics" + "github.com/launchdarkly/ldcli/internal/errors" + "github.com/launchdarkly/ldcli/internal/output" + "github.com/launchdarkly/ldcli/internal/resources" ) func getResourcesHelpTemplate() string { diff --git a/cmd/resources/resources_test.go b/cmd/resources/resources_test.go index 9f24a64d..183c54f7 100644 --- a/cmd/resources/resources_test.go +++ b/cmd/resources/resources_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "ldcli/cmd/resources" + "github.com/launchdarkly/ldcli/cmd/resources" ) func TestNewResourceData(t *testing.T) { diff --git a/cmd/root.go b/cmd/root.go index 3be129fa..96112c12 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -14,20 +14,20 @@ import ( "github.com/spf13/cobra" "github.com/spf13/viper" - cmdAnalytics "ldcli/cmd/analytics" - "ldcli/cmd/cliflags" - configcmd "ldcli/cmd/config" - flagscmd "ldcli/cmd/flags" - memberscmd "ldcli/cmd/members" - resourcecmd "ldcli/cmd/resources" - "ldcli/internal/analytics" - "ldcli/internal/config" - "ldcli/internal/environments" - errs "ldcli/internal/errors" - "ldcli/internal/flags" - "ldcli/internal/members" - "ldcli/internal/projects" - "ldcli/internal/resources" + cmdAnalytics "github.com/launchdarkly/ldcli/cmd/analytics" + "github.com/launchdarkly/ldcli/cmd/cliflags" + configcmd "github.com/launchdarkly/ldcli/cmd/config" + flagscmd "github.com/launchdarkly/ldcli/cmd/flags" + memberscmd "github.com/launchdarkly/ldcli/cmd/members" + resourcecmd "github.com/launchdarkly/ldcli/cmd/resources" + "github.com/launchdarkly/ldcli/internal/analytics" + "github.com/launchdarkly/ldcli/internal/config" + "github.com/launchdarkly/ldcli/internal/environments" + errs "github.com/launchdarkly/ldcli/internal/errors" + "github.com/launchdarkly/ldcli/internal/flags" + "github.com/launchdarkly/ldcli/internal/members" + "github.com/launchdarkly/ldcli/internal/projects" + "github.com/launchdarkly/ldcli/internal/resources" ) type APIClients struct { diff --git a/cmd/root_test.go b/cmd/root_test.go index 12ffe879..f7a9ed83 100644 --- a/cmd/root_test.go +++ b/cmd/root_test.go @@ -1,8 +1,8 @@ package cmd_test import ( - "ldcli/cmd" - "ldcli/internal/analytics" + "github.com/launchdarkly/ldcli/cmd" + "github.com/launchdarkly/ldcli/internal/analytics" "testing" "github.com/stretchr/testify/assert" diff --git a/cmd/validators/validators.go b/cmd/validators/validators.go index 4c8e74d8..4c539877 100644 --- a/cmd/validators/validators.go +++ b/cmd/validators/validators.go @@ -10,9 +10,9 @@ import ( "github.com/spf13/pflag" "github.com/spf13/viper" - "ldcli/cmd/cliflags" - errs "ldcli/internal/errors" - "ldcli/internal/output" + "github.com/launchdarkly/ldcli/cmd/cliflags" + errs "github.com/launchdarkly/ldcli/internal/errors" + "github.com/launchdarkly/ldcli/internal/output" ) // Validate is a validator for commands to print an error when the user input is invalid. diff --git a/cmd/validators/validators_test.go b/cmd/validators/validators_test.go index 070face4..bb5174bb 100644 --- a/cmd/validators/validators_test.go +++ b/cmd/validators/validators_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/assert" - "ldcli/cmd/validators" + "github.com/launchdarkly/ldcli/cmd/validators" ) func TestCmdError(t *testing.T) { diff --git a/go.mod b/go.mod index 8e71836f..d874a332 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module ldcli +module github.com/launchdarkly/ldcli go 1.20 @@ -18,6 +18,7 @@ require ( github.com/spf13/pflag v1.0.5 github.com/spf13/viper v1.18.2 github.com/stretchr/testify v1.9.0 + golang.org/x/term v0.18.0 gopkg.in/yaml.v3 v3.0.1 ) @@ -72,7 +73,6 @@ require ( golang.org/x/oauth2 v0.15.0 // indirect golang.org/x/sync v0.5.0 // indirect golang.org/x/sys v0.18.0 // indirect - golang.org/x/term v0.18.0 // indirect golang.org/x/text v0.14.0 // indirect google.golang.org/appengine v1.6.7 // indirect google.golang.org/protobuf v1.33.0 // indirect diff --git a/internal/config/config.go b/internal/config/config.go index 6a0193d1..04a0baa9 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -8,9 +8,9 @@ import ( "github.com/mitchellh/go-homedir" - "ldcli/cmd/cliflags" - "ldcli/internal/errors" - "ldcli/internal/output" + "github.com/launchdarkly/ldcli/cmd/cliflags" + "github.com/launchdarkly/ldcli/internal/errors" + "github.com/launchdarkly/ldcli/internal/output" ) const Filename = ".ldcli-config.yml" diff --git a/internal/config/config_test.go b/internal/config/config_test.go index 14a591f2..14b5d7de 100644 --- a/internal/config/config_test.go +++ b/internal/config/config_test.go @@ -2,7 +2,7 @@ package config_test import ( "fmt" - "ldcli/internal/config" + "github.com/launchdarkly/ldcli/internal/config" "testing" "github.com/stretchr/testify/assert" diff --git a/internal/environments/client.go b/internal/environments/client.go index 49b84991..6abbc757 100644 --- a/internal/environments/client.go +++ b/internal/environments/client.go @@ -4,8 +4,8 @@ import ( "context" "encoding/json" - "ldcli/internal/client" - "ldcli/internal/errors" + "github.com/launchdarkly/ldcli/internal/client" + "github.com/launchdarkly/ldcli/internal/errors" ) type Client interface { diff --git a/internal/errors/errors.go b/internal/errors/errors.go index b37143eb..141f892a 100644 --- a/internal/errors/errors.go +++ b/internal/errors/errors.go @@ -6,7 +6,7 @@ import ( "github.com/pkg/errors" - "ldcli/cmd/cliflags" + "github.com/launchdarkly/ldcli/cmd/cliflags" ) var ErrInvalidBaseURI = NewError(fmt.Sprintf("%s is invalid", cliflags.BaseURIFlag)) diff --git a/internal/errors/errors_test.go b/internal/errors/errors_test.go index 2684323f..6972dde6 100644 --- a/internal/errors/errors_test.go +++ b/internal/errors/errors_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - errs "ldcli/internal/errors" + errs "github.com/launchdarkly/ldcli/internal/errors" ) func TestAPIError(t *testing.T) { diff --git a/internal/flags/client.go b/internal/flags/client.go index 72fbd361..c4cfdd8c 100644 --- a/internal/flags/client.go +++ b/internal/flags/client.go @@ -7,8 +7,8 @@ import ( ldapi "github.com/launchdarkly/api-client-go/v14" - "ldcli/internal/client" - "ldcli/internal/errors" + "github.com/launchdarkly/ldcli/internal/client" + "github.com/launchdarkly/ldcli/internal/errors" ) type UpdateInput struct { diff --git a/internal/flags/flags.go b/internal/flags/flags.go index a2bf8ae6..68677e42 100644 --- a/internal/flags/flags.go +++ b/internal/flags/flags.go @@ -1,7 +1,7 @@ package flags import ( - "ldcli/internal/errors" + "github.com/launchdarkly/ldcli/internal/errors" "regexp" "strings" ) diff --git a/internal/flags/flags_test.go b/internal/flags/flags_test.go index 442ae072..7d199051 100644 --- a/internal/flags/flags_test.go +++ b/internal/flags/flags_test.go @@ -2,7 +2,7 @@ package flags_test import ( "fmt" - "ldcli/internal/flags" + "github.com/launchdarkly/ldcli/internal/flags" "strings" "testing" diff --git a/internal/members/members.go b/internal/members/members.go index 4ca6de29..63cae1b5 100644 --- a/internal/members/members.go +++ b/internal/members/members.go @@ -6,8 +6,8 @@ import ( ldapi "github.com/launchdarkly/api-client-go/v14" - "ldcli/internal/client" - "ldcli/internal/errors" + "github.com/launchdarkly/ldcli/internal/client" + "github.com/launchdarkly/ldcli/internal/errors" ) type Client interface { diff --git a/internal/output/output.go b/internal/output/output.go index cb28f9c8..ed58a1f7 100644 --- a/internal/output/output.go +++ b/internal/output/output.go @@ -3,7 +3,7 @@ package output import ( "encoding/json" - "ldcli/internal/errors" + "github.com/launchdarkly/ldcli/internal/errors" ) var ErrInvalidOutputKind = errors.NewError("output is invalid, use 'json' or 'plaintext'") diff --git a/internal/output/output_test.go b/internal/output/output_test.go index 12d58dee..cdb31746 100644 --- a/internal/output/output_test.go +++ b/internal/output/output_test.go @@ -1,7 +1,7 @@ package output_test import ( - "ldcli/internal/output" + "github.com/launchdarkly/ldcli/internal/output" "testing" "github.com/stretchr/testify/assert" diff --git a/internal/output/resource_output.go b/internal/output/resource_output.go index 93c2834c..0408280f 100644 --- a/internal/output/resource_output.go +++ b/internal/output/resource_output.go @@ -10,7 +10,7 @@ import ( "github.com/pkg/errors" - errs "ldcli/internal/errors" + errs "github.com/launchdarkly/ldcli/internal/errors" ) // CmdOutput returns a response from a resource action formatted based on the output flag along with diff --git a/internal/output/resource_output_test.go b/internal/output/resource_output_test.go index 6daa7313..dae78fa0 100644 --- a/internal/output/resource_output_test.go +++ b/internal/output/resource_output_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "ldcli/internal/errors" - "ldcli/internal/output" + "github.com/launchdarkly/ldcli/internal/errors" + "github.com/launchdarkly/ldcli/internal/output" ) func TestCmdOutput(t *testing.T) { diff --git a/internal/projects/projects.go b/internal/projects/projects.go index 47699c88..d4e4151b 100644 --- a/internal/projects/projects.go +++ b/internal/projects/projects.go @@ -6,8 +6,8 @@ import ( ldapi "github.com/launchdarkly/api-client-go/v14" - "ldcli/internal/client" - "ldcli/internal/errors" + "github.com/launchdarkly/ldcli/internal/client" + "github.com/launchdarkly/ldcli/internal/errors" ) type Client interface { diff --git a/internal/quickstart/container.go b/internal/quickstart/container.go index a1e63d14..348a5419 100644 --- a/internal/quickstart/container.go +++ b/internal/quickstart/container.go @@ -9,9 +9,9 @@ import ( tea "github.com/charmbracelet/bubbletea" "github.com/muesli/reflow/wordwrap" - "ldcli/internal/analytics" - "ldcli/internal/environments" - "ldcli/internal/flags" + "github.com/launchdarkly/ldcli/internal/analytics" + "github.com/launchdarkly/ldcli/internal/environments" + "github.com/launchdarkly/ldcli/internal/flags" ) const ( diff --git a/internal/quickstart/create_flag.go b/internal/quickstart/create_flag.go index df5b9f06..711b7885 100644 --- a/internal/quickstart/create_flag.go +++ b/internal/quickstart/create_flag.go @@ -9,7 +9,7 @@ import ( tea "github.com/charmbracelet/bubbletea" "github.com/charmbracelet/lipgloss" - "ldcli/internal/flags" + "github.com/launchdarkly/ldcli/internal/flags" ) const defaultFlagName = "My New Flag" diff --git a/internal/quickstart/messages.go b/internal/quickstart/messages.go index 64664824..769304b5 100644 --- a/internal/quickstart/messages.go +++ b/internal/quickstart/messages.go @@ -8,11 +8,11 @@ import ( tea "github.com/charmbracelet/bubbletea" - "ldcli/internal/analytics" - "ldcli/internal/environments" - "ldcli/internal/errors" - "ldcli/internal/flags" - "ldcli/internal/sdks" + "github.com/launchdarkly/ldcli/internal/analytics" + "github.com/launchdarkly/ldcli/internal/environments" + "github.com/launchdarkly/ldcli/internal/errors" + "github.com/launchdarkly/ldcli/internal/flags" + "github.com/launchdarkly/ldcli/internal/sdks" ) // errMsg is sent when there is an error in one of the steps that the container model needs to diff --git a/internal/quickstart/show_sdk_instructions.go b/internal/quickstart/show_sdk_instructions.go index 2561dde3..ce0ef771 100644 --- a/internal/quickstart/show_sdk_instructions.go +++ b/internal/quickstart/show_sdk_instructions.go @@ -11,9 +11,9 @@ import ( "github.com/charmbracelet/glamour" "github.com/charmbracelet/lipgloss" - "ldcli/internal/environments" - "ldcli/internal/flags" - "ldcli/internal/sdks" + "github.com/launchdarkly/ldcli/internal/environments" + "github.com/launchdarkly/ldcli/internal/flags" + "github.com/launchdarkly/ldcli/internal/sdks" ) // stepCountHeight is the approximate height of the current step value shown from the container and diff --git a/internal/quickstart/toggle_flag.go b/internal/quickstart/toggle_flag.go index de277922..61419c7f 100644 --- a/internal/quickstart/toggle_flag.go +++ b/internal/quickstart/toggle_flag.go @@ -10,8 +10,8 @@ import ( tea "github.com/charmbracelet/bubbletea" "github.com/charmbracelet/lipgloss" - "ldcli/internal/errors" - "ldcli/internal/flags" + "github.com/launchdarkly/ldcli/internal/errors" + "github.com/launchdarkly/ldcli/internal/flags" ) const ( diff --git a/internal/resources/client.go b/internal/resources/client.go index b65fc18e..8adaab90 100644 --- a/internal/resources/client.go +++ b/internal/resources/client.go @@ -7,7 +7,7 @@ import ( "net/http" "net/url" - "ldcli/internal/errors" + "github.com/launchdarkly/ldcli/internal/errors" ) type Client interface { diff --git a/internal/sdks/sdks_test.go b/internal/sdks/sdks_test.go index 1f3a9421..08de2119 100644 --- a/internal/sdks/sdks_test.go +++ b/internal/sdks/sdks_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/assert" - "ldcli/internal/sdks" + "github.com/launchdarkly/ldcli/internal/sdks" ) func TestReplaceFlagKey(t *testing.T) { diff --git a/main.go b/main.go index a21dd72d..fd729bc2 100644 --- a/main.go +++ b/main.go @@ -1,7 +1,7 @@ package main import ( - "ldcli/cmd" + "github.com/launchdarkly/ldcli/cmd" ) // main.version is set at build time via ldflags by go releaser https://goreleaser.com/cookbooks/using-main.version/