diff --git a/internal/cli/clients.go b/internal/cli/clients.go index 2a572d752..69ac41579 100644 --- a/internal/cli/clients.go +++ b/internal/cli/clients.go @@ -1,9 +1,7 @@ package cli import ( - "github.com/auth0/auth0-cli/internal/ansi" "github.com/spf13/cobra" - "gopkg.in/auth0.v5/management" ) func clientsCmd(cli *cli) *cobra.Command { @@ -28,13 +26,7 @@ Lists your existing clients. To create one try: $ auth0 client create `, RunE: func(cmd *cobra.Command, args []string) error { - var list *management.ClientList - - err := ansi.Spinner("Listing clients", func() (err error) { - list, err = cli.api.Client.List() - return err - }) - + list, err := cli.api.Client.List() if err != nil { return err }