Skip to content

Commit

Permalink
update module path
Browse files Browse the repository at this point in the history
  • Loading branch information
0x4c6565 committed Jun 23, 2022
1 parent bf54992 commit fa57559
Show file tree
Hide file tree
Showing 408 changed files with 1,496 additions and 1,496 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The CLI is distributed as a single binary, and is available for Windows, Linux a
should be downloaded and placed into a directory included in your `PATH`. This would typically
be `/usr/local/bin` on most Linux distributions

Pre-compiled binaries are available at [Releases](https://github.com/ukfast/cli/releases)
Pre-compiled binaries are available at [Releases](https://github.com/ans-group/cli/releases)

## Getting started

Expand Down
2 changes: 1 addition & 1 deletion cmd/account/account.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package account

import (
"github.com/ans-group/cli/internal/pkg/factory"
"github.com/spf13/cobra"
"github.com/ukfast/cli/internal/pkg/factory"
)

func AccountRootCmd(f factory.ClientFactory) *cobra.Command {
Expand Down
8 changes: 4 additions & 4 deletions cmd/account/account_contact.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import (
"fmt"
"strconv"

"github.com/ans-group/cli/internal/pkg/factory"
"github.com/ans-group/cli/internal/pkg/helper"
"github.com/ans-group/cli/internal/pkg/output"
"github.com/ans-group/sdk-go/pkg/service/account"
"github.com/spf13/cobra"
"github.com/ukfast/cli/internal/pkg/factory"
"github.com/ukfast/cli/internal/pkg/helper"
"github.com/ukfast/cli/internal/pkg/output"
"github.com/ukfast/sdk-go/pkg/service/account"
)

func accountContactRootCmd(f factory.ClientFactory) *cobra.Command {
Expand Down
8 changes: 4 additions & 4 deletions cmd/account/account_contact_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import (
"errors"
"testing"

"github.com/ans-group/cli/internal/pkg/clierrors"
"github.com/ans-group/cli/test/mocks"
"github.com/ans-group/cli/test/test_output"
"github.com/ans-group/sdk-go/pkg/service/account"
gomock "github.com/golang/mock/gomock"
"github.com/spf13/cobra"
"github.com/stretchr/testify/assert"
"github.com/ukfast/cli/internal/pkg/clierrors"
"github.com/ukfast/cli/test/mocks"
"github.com/ukfast/cli/test/test_output"
"github.com/ukfast/sdk-go/pkg/service/account"
)

func Test_accountContactList(t *testing.T) {
Expand Down
8 changes: 4 additions & 4 deletions cmd/account/account_credit.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ package account
import (
"fmt"

"github.com/ans-group/cli/internal/pkg/factory"
"github.com/ans-group/cli/internal/pkg/helper"
"github.com/ans-group/cli/internal/pkg/output"
"github.com/ans-group/sdk-go/pkg/service/account"
"github.com/spf13/cobra"
"github.com/ukfast/cli/internal/pkg/factory"
"github.com/ukfast/cli/internal/pkg/helper"
"github.com/ukfast/cli/internal/pkg/output"
"github.com/ukfast/sdk-go/pkg/service/account"
)

func accountCreditRootCmd(f factory.ClientFactory) *cobra.Command {
Expand Down
6 changes: 3 additions & 3 deletions cmd/account/account_credit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import (
"errors"
"testing"

"github.com/ans-group/cli/internal/pkg/clierrors"
"github.com/ans-group/cli/test/mocks"
"github.com/ans-group/sdk-go/pkg/service/account"
gomock "github.com/golang/mock/gomock"
"github.com/spf13/cobra"
"github.com/stretchr/testify/assert"
"github.com/ukfast/cli/internal/pkg/clierrors"
"github.com/ukfast/cli/test/mocks"
"github.com/ukfast/sdk-go/pkg/service/account"
)

func Test_accountCreditList(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions cmd/account/account_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package account
import (
"fmt"

"github.com/ans-group/cli/internal/pkg/factory"
"github.com/ans-group/cli/internal/pkg/output"
"github.com/ans-group/sdk-go/pkg/service/account"
"github.com/spf13/cobra"
"github.com/ukfast/cli/internal/pkg/factory"
"github.com/ukfast/cli/internal/pkg/output"
"github.com/ukfast/sdk-go/pkg/service/account"
)

func accountDetailsRootCmd(f factory.ClientFactory) *cobra.Command {
Expand Down
4 changes: 2 additions & 2 deletions cmd/account/account_details_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"errors"
"testing"

"github.com/ans-group/cli/test/mocks"
"github.com/ans-group/sdk-go/pkg/service/account"
gomock "github.com/golang/mock/gomock"
"github.com/spf13/cobra"
"github.com/ukfast/cli/test/mocks"
"github.com/ukfast/sdk-go/pkg/service/account"
"gopkg.in/go-playground/assert.v1"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/account/output.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package account

import (
"github.com/ukfast/cli/internal/pkg/output"
"github.com/ukfast/sdk-go/pkg/service/account"
"github.com/ans-group/cli/internal/pkg/output"
"github.com/ans-group/sdk-go/pkg/service/account"
)

func OutputAccountContactsProvider(contacts []account.Contact) output.OutputHandlerDataProvider {
Expand Down
2 changes: 1 addition & 1 deletion cmd/billing/billing.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package billing

import (
"github.com/ans-group/cli/internal/pkg/factory"
"github.com/spf13/cobra"
"github.com/ukfast/cli/internal/pkg/factory"
)

func BillingRootCmd(f factory.ClientFactory) *cobra.Command {
Expand Down
10 changes: 5 additions & 5 deletions cmd/billing/billing_card.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import (
"fmt"
"strconv"

"github.com/ans-group/cli/internal/pkg/factory"
"github.com/ans-group/cli/internal/pkg/helper"
"github.com/ans-group/cli/internal/pkg/output"
"github.com/ans-group/sdk-go/pkg/ptr"
"github.com/ans-group/sdk-go/pkg/service/billing"
"github.com/spf13/cobra"
"github.com/ukfast/cli/internal/pkg/factory"
"github.com/ukfast/cli/internal/pkg/helper"
"github.com/ukfast/cli/internal/pkg/output"
"github.com/ukfast/sdk-go/pkg/ptr"
"github.com/ukfast/sdk-go/pkg/service/billing"
)

func billingCardRootCmd(f factory.ClientFactory) *cobra.Command {
Expand Down
8 changes: 4 additions & 4 deletions cmd/billing/billing_card_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import (
"errors"
"testing"

"github.com/ans-group/cli/internal/pkg/clierrors"
"github.com/ans-group/cli/test/mocks"
"github.com/ans-group/cli/test/test_output"
"github.com/ans-group/sdk-go/pkg/service/billing"
gomock "github.com/golang/mock/gomock"
"github.com/spf13/cobra"
"github.com/stretchr/testify/assert"
"github.com/ukfast/cli/internal/pkg/clierrors"
"github.com/ukfast/cli/test/mocks"
"github.com/ukfast/cli/test/test_output"
"github.com/ukfast/sdk-go/pkg/service/billing"
)

func Test_billingCardList(t *testing.T) {
Expand Down
8 changes: 4 additions & 4 deletions cmd/billing/billing_cloudcost.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ package billing
import (
"fmt"

"github.com/ans-group/cli/internal/pkg/factory"
"github.com/ans-group/cli/internal/pkg/helper"
"github.com/ans-group/cli/internal/pkg/output"
"github.com/ans-group/sdk-go/pkg/service/billing"
"github.com/spf13/cobra"
"github.com/ukfast/cli/internal/pkg/factory"
"github.com/ukfast/cli/internal/pkg/helper"
"github.com/ukfast/cli/internal/pkg/output"
"github.com/ukfast/sdk-go/pkg/service/billing"
)

func billingCloudCostRootCmd(f factory.ClientFactory) *cobra.Command {
Expand Down
6 changes: 3 additions & 3 deletions cmd/billing/billing_directdebit.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package billing
import (
"fmt"

"github.com/ans-group/cli/internal/pkg/factory"
"github.com/ans-group/cli/internal/pkg/output"
"github.com/ans-group/sdk-go/pkg/service/billing"
"github.com/spf13/cobra"
"github.com/ukfast/cli/internal/pkg/factory"
"github.com/ukfast/cli/internal/pkg/output"
"github.com/ukfast/sdk-go/pkg/service/billing"
)

func billingDirectDebitRootCmd(f factory.ClientFactory) *cobra.Command {
Expand Down
4 changes: 2 additions & 2 deletions cmd/billing/billing_directdebit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
"errors"
"testing"

"github.com/ans-group/cli/test/mocks"
"github.com/ans-group/sdk-go/pkg/service/billing"
gomock "github.com/golang/mock/gomock"
"github.com/spf13/cobra"
"github.com/stretchr/testify/assert"
"github.com/ukfast/cli/test/mocks"
"github.com/ukfast/sdk-go/pkg/service/billing"
)

func Test_billingDirectDebitShow(t *testing.T) {
Expand Down
8 changes: 4 additions & 4 deletions cmd/billing/billing_invoice.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import (
"fmt"
"strconv"

"github.com/ans-group/cli/internal/pkg/factory"
"github.com/ans-group/cli/internal/pkg/helper"
"github.com/ans-group/cli/internal/pkg/output"
"github.com/ans-group/sdk-go/pkg/service/billing"
"github.com/spf13/cobra"
"github.com/ukfast/cli/internal/pkg/factory"
"github.com/ukfast/cli/internal/pkg/helper"
"github.com/ukfast/cli/internal/pkg/output"
"github.com/ukfast/sdk-go/pkg/service/billing"
)

func billingInvoiceRootCmd(f factory.ClientFactory) *cobra.Command {
Expand Down
8 changes: 4 additions & 4 deletions cmd/billing/billing_invoice_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import (
"errors"
"testing"

"github.com/ans-group/cli/internal/pkg/clierrors"
"github.com/ans-group/cli/test/mocks"
"github.com/ans-group/cli/test/test_output"
"github.com/ans-group/sdk-go/pkg/service/billing"
gomock "github.com/golang/mock/gomock"
"github.com/spf13/cobra"
"github.com/stretchr/testify/assert"
"github.com/ukfast/cli/internal/pkg/clierrors"
"github.com/ukfast/cli/test/mocks"
"github.com/ukfast/cli/test/test_output"
"github.com/ukfast/sdk-go/pkg/service/billing"
)

func Test_billingInvoiceList(t *testing.T) {
Expand Down
8 changes: 4 additions & 4 deletions cmd/billing/billing_invoicequery.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import (
"fmt"
"strconv"

"github.com/ans-group/cli/internal/pkg/factory"
"github.com/ans-group/cli/internal/pkg/helper"
"github.com/ans-group/cli/internal/pkg/output"
"github.com/ans-group/sdk-go/pkg/service/billing"
"github.com/spf13/cobra"
"github.com/ukfast/cli/internal/pkg/factory"
"github.com/ukfast/cli/internal/pkg/helper"
"github.com/ukfast/cli/internal/pkg/output"
"github.com/ukfast/sdk-go/pkg/service/billing"
)

func billingInvoiceQueryRootCmd(f factory.ClientFactory) *cobra.Command {
Expand Down
8 changes: 4 additions & 4 deletions cmd/billing/billing_invoicequery_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import (
"errors"
"testing"

"github.com/ans-group/cli/internal/pkg/clierrors"
"github.com/ans-group/cli/test/mocks"
"github.com/ans-group/cli/test/test_output"
"github.com/ans-group/sdk-go/pkg/service/billing"
gomock "github.com/golang/mock/gomock"
"github.com/spf13/cobra"
"github.com/stretchr/testify/assert"
"github.com/ukfast/cli/internal/pkg/clierrors"
"github.com/ukfast/cli/test/mocks"
"github.com/ukfast/cli/test/test_output"
"github.com/ukfast/sdk-go/pkg/service/billing"
)

func Test_billingInvoiceQueryList(t *testing.T) {
Expand Down
8 changes: 4 additions & 4 deletions cmd/billing/billing_payment.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import (
"fmt"
"strconv"

"github.com/ans-group/cli/internal/pkg/factory"
"github.com/ans-group/cli/internal/pkg/helper"
"github.com/ans-group/cli/internal/pkg/output"
"github.com/ans-group/sdk-go/pkg/service/billing"
"github.com/spf13/cobra"
"github.com/ukfast/cli/internal/pkg/factory"
"github.com/ukfast/cli/internal/pkg/helper"
"github.com/ukfast/cli/internal/pkg/output"
"github.com/ukfast/sdk-go/pkg/service/billing"
)

func billingPaymentRootCmd(f factory.ClientFactory) *cobra.Command {
Expand Down
8 changes: 4 additions & 4 deletions cmd/billing/billing_payment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import (
"errors"
"testing"

"github.com/ans-group/cli/internal/pkg/clierrors"
"github.com/ans-group/cli/test/mocks"
"github.com/ans-group/cli/test/test_output"
"github.com/ans-group/sdk-go/pkg/service/billing"
gomock "github.com/golang/mock/gomock"
"github.com/spf13/cobra"
"github.com/stretchr/testify/assert"
"github.com/ukfast/cli/internal/pkg/clierrors"
"github.com/ukfast/cli/test/mocks"
"github.com/ukfast/cli/test/test_output"
"github.com/ukfast/sdk-go/pkg/service/billing"
)

func Test_billingPaymentList(t *testing.T) {
Expand Down
8 changes: 4 additions & 4 deletions cmd/billing/billing_recurringcost.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import (
"fmt"
"strconv"

"github.com/ans-group/cli/internal/pkg/factory"
"github.com/ans-group/cli/internal/pkg/helper"
"github.com/ans-group/cli/internal/pkg/output"
"github.com/ans-group/sdk-go/pkg/service/billing"
"github.com/spf13/cobra"
"github.com/ukfast/cli/internal/pkg/factory"
"github.com/ukfast/cli/internal/pkg/helper"
"github.com/ukfast/cli/internal/pkg/output"
"github.com/ukfast/sdk-go/pkg/service/billing"
)

func billingRecurringCostRootCmd(f factory.ClientFactory) *cobra.Command {
Expand Down
8 changes: 4 additions & 4 deletions cmd/billing/billing_recurringcost_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import (
"errors"
"testing"

"github.com/ans-group/cli/internal/pkg/clierrors"
"github.com/ans-group/cli/test/mocks"
"github.com/ans-group/cli/test/test_output"
"github.com/ans-group/sdk-go/pkg/service/billing"
gomock "github.com/golang/mock/gomock"
"github.com/spf13/cobra"
"github.com/stretchr/testify/assert"
"github.com/ukfast/cli/internal/pkg/clierrors"
"github.com/ukfast/cli/test/mocks"
"github.com/ukfast/cli/test/test_output"
"github.com/ukfast/sdk-go/pkg/service/billing"
)

func Test_billingRecurringCostList(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions cmd/billing/output.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package billing

import (
"github.com/ukfast/cli/internal/pkg/output"
"github.com/ukfast/sdk-go/pkg/service/billing"
"github.com/ans-group/cli/internal/pkg/output"
"github.com/ans-group/sdk-go/pkg/service/billing"
)

func OutputBillingCardsProvider(cards []billing.Card) output.OutputHandlerDataProvider {
Expand Down
4 changes: 2 additions & 2 deletions cmd/cloudflare/cloudflare.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package cloudflare

import (
"github.com/ans-group/cli/internal/pkg/factory"
"github.com/ans-group/sdk-go/pkg/service/cloudflare"
"github.com/spf13/cobra"
"github.com/ukfast/cli/internal/pkg/factory"
"github.com/ukfast/sdk-go/pkg/service/cloudflare"
)

func CloudflareRootCmd(f factory.ClientFactory) *cobra.Command {
Expand Down
8 changes: 4 additions & 4 deletions cmd/cloudflare/cloudflare_account.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
"errors"
"fmt"

"github.com/ans-group/cli/internal/pkg/factory"
"github.com/ans-group/cli/internal/pkg/helper"
"github.com/ans-group/cli/internal/pkg/output"
"github.com/ans-group/sdk-go/pkg/service/cloudflare"
"github.com/spf13/cobra"
"github.com/ukfast/cli/internal/pkg/factory"
"github.com/ukfast/cli/internal/pkg/helper"
"github.com/ukfast/cli/internal/pkg/output"
"github.com/ukfast/sdk-go/pkg/service/cloudflare"
)

func cloudflareAccountRootCmd(f factory.ClientFactory) *cobra.Command {
Expand Down
4 changes: 2 additions & 2 deletions cmd/cloudflare/cloudflare_account_member.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"errors"
"fmt"

"github.com/ans-group/cli/internal/pkg/factory"
"github.com/ans-group/sdk-go/pkg/service/cloudflare"
"github.com/spf13/cobra"
"github.com/ukfast/cli/internal/pkg/factory"
"github.com/ukfast/sdk-go/pkg/service/cloudflare"
)

func cloudflareAccountMemberRootCmd(f factory.ClientFactory) *cobra.Command {
Expand Down
Loading

0 comments on commit fa57559

Please sign in to comment.