Changed module name to sailpoint-cli so it is clearer on the company name

This commit is contained in:
colin-mckibben-sp
2022-09-28 15:53:09 -04:00
parent 9b5293647e
commit ad6cb60227
61 changed files with 93 additions and 93 deletions

View File

@@ -7,7 +7,7 @@ on:
branches: [main] branches: [main]
jobs: jobs:
sp-cli-windows: sailpoint-cli-windows:
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2

2
.gitignore vendored
View File

@@ -2,6 +2,6 @@
.vscode .vscode
# CLI binary # CLI binary
sp-cli sailpoint-cli
data data

6
Jenkinsfile vendored
View File

@@ -4,7 +4,7 @@
@Library('sailpoint/jenkins-release-utils')_ @Library('sailpoint/jenkins-release-utils')_
/** /**
* Jenkins pipeline for building and uploading sp-cli docker image. * Jenkins pipeline for building and uploading sailpoint-cli docker image.
*/ */
pipeline { pipeline {
agent none agent none
@@ -51,11 +51,11 @@ pipeline {
RELEASE_BRANCH = "main" RELEASE_BRANCH = "main"
// The name of service being released // The name of service being released
SERVICE_NAME = "sp-cli" SERVICE_NAME = "sailpoint-cli"
} }
stages { stages {
stage('Build and push sp-cli') { stage('Build and push sailpoint-cli') {
when { when {
branch env.RELEASE_BRANCH branch env.RELEASE_BRANCH
} }

View File

@@ -22,10 +22,10 @@ else
endif endif
docker/build: docker/login docker/build: docker/login
docker build -t sailpoint-oss/sp-cli:$(VERSION) -f Dockerfile . docker build -t sailpoint-oss/sailpoint-cli:$(VERSION) -f Dockerfile .
docker/push: docker/build docker/push: docker/build
docker tag sailpoint-oss/sp-cli:$(VERSION) 406205545357.dkr.ecr.us-east-1.amazonaws.com/sailpoint-oss/sp-cli:$(VERSION) docker tag sailpoint-oss/sailpoint-cli:$(VERSION) 406205545357.dkr.ecr.us-east-1.amazonaws.com/sailpoint-oss/sailpoint-cli:$(VERSION)
docker push 406205545357.dkr.ecr.us-east-1.amazonaws.com/sailpoint-oss/sp-cli:$(VERSION) docker push 406205545357.dkr.ecr.us-east-1.amazonaws.com/sailpoint-oss/sailpoint-cli:$(VERSION)
.PHONY: clean mocks test install .docker/login .docker/build .docker/push .PHONY: clean mocks test install .docker/login .docker/build .docker/push

View File

@@ -11,7 +11,7 @@ import (
"net/url" "net/url"
"path" "path"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
) )
// ConnClient is an sp connect client for a specific connector // ConnClient is an sp connect client for a specific connector

View File

@@ -14,7 +14,7 @@ import (
"path" "path"
"time" "time"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
) )
const TimeFormatLocal = `2006-01-02T15:04:05.000-07:00` const TimeFormatLocal = `2006-01-02T15:04:05.000-07:00`

View File

@@ -7,7 +7,7 @@ import (
"log" "log"
"os" "os"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/spf13/pflag" "github.com/spf13/pflag"
"github.com/spf13/viper" "github.com/spf13/viper"

View File

@@ -9,8 +9,8 @@ import (
"net/http" "net/http"
"github.com/olekukonko/tablewriter" "github.com/olekukonko/tablewriter"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
"github.com/sailpoint-oss/sp-cli/util" "github.com/sailpoint-oss/sailpoint-cli/util"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@@ -9,7 +9,7 @@ import (
"testing" "testing"
"github.com/golang/mock/gomock" "github.com/golang/mock/gomock"
"github.com/sailpoint-oss/sp-cli/mocks" "github.com/sailpoint-oss/sailpoint-cli/mocks"
) )
func TestNewConnCreateCmd(t *testing.T) { func TestNewConnCreateCmd(t *testing.T) {

View File

@@ -11,8 +11,8 @@ import (
"os" "os"
"github.com/olekukonko/tablewriter" "github.com/olekukonko/tablewriter"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
"github.com/sailpoint-oss/sp-cli/util" "github.com/sailpoint-oss/sailpoint-cli/util"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@@ -9,7 +9,7 @@ import (
"testing" "testing"
"github.com/golang/mock/gomock" "github.com/golang/mock/gomock"
"github.com/sailpoint-oss/sp-cli/mocks" "github.com/sailpoint-oss/sailpoint-cli/mocks"
) )
func TestNewConnCreateVersionCmd_missingRequiredFlags(t *testing.T) { func TestNewConnCreateVersionCmd_missingRequiredFlags(t *testing.T) {

View File

@@ -8,8 +8,8 @@ import (
"net/http" "net/http"
"github.com/olekukonko/tablewriter" "github.com/olekukonko/tablewriter"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
"github.com/sailpoint-oss/sp-cli/util" "github.com/sailpoint-oss/sailpoint-cli/util"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@@ -7,7 +7,7 @@ import (
"testing" "testing"
"github.com/golang/mock/gomock" "github.com/golang/mock/gomock"
"github.com/sailpoint-oss/sp-cli/mocks" "github.com/sailpoint-oss/sailpoint-cli/mocks"
) )
func TestNewConnGetCmd_missingRequiredFlags(t *testing.T) { func TestNewConnGetCmd_missingRequiredFlags(t *testing.T) {

View File

@@ -7,8 +7,8 @@ import (
"os" "os"
"strconv" "strconv"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
connclient "github.com/sailpoint-oss/sp-cli/cmd/connector/client" connclient "github.com/sailpoint-oss/sailpoint-cli/cmd/connector/client"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@@ -6,7 +6,7 @@ import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@@ -5,7 +5,7 @@ package connector
import ( import (
"fmt" "fmt"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@@ -4,7 +4,7 @@ package connector
import ( import (
"fmt" "fmt"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@@ -4,7 +4,7 @@ package connector
import ( import (
"fmt" "fmt"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@@ -4,7 +4,7 @@ package connector
import ( import (
"fmt" "fmt"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@@ -6,8 +6,8 @@ import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
connclient "github.com/sailpoint-oss/sp-cli/cmd/connector/client" connclient "github.com/sailpoint-oss/sailpoint-cli/cmd/connector/client"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@@ -4,7 +4,7 @@ package connector
import ( import (
"fmt" "fmt"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@@ -4,7 +4,7 @@ package connector
import ( import (
"fmt" "fmt"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@@ -6,7 +6,7 @@ import (
"io" "io"
"os" "os"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@@ -8,7 +8,7 @@ import (
"testing" "testing"
"github.com/golang/mock/gomock" "github.com/golang/mock/gomock"
"github.com/sailpoint-oss/sp-cli/mocks" "github.com/sailpoint-oss/sailpoint-cli/mocks"
) )
// Unit tests for conn_invoke.go and its subcommands // Unit tests for conn_invoke.go and its subcommands

View File

@@ -4,7 +4,7 @@ package connector
import ( import (
"fmt" "fmt"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@@ -8,7 +8,7 @@ import (
"net/http" "net/http"
"github.com/olekukonko/tablewriter" "github.com/olekukonko/tablewriter"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@@ -9,7 +9,7 @@ import (
"testing" "testing"
"github.com/golang/mock/gomock" "github.com/golang/mock/gomock"
"github.com/sailpoint-oss/sp-cli/mocks" "github.com/sailpoint-oss/sailpoint-cli/mocks"
) )
func TestNewConnListCmd(t *testing.T) { func TestNewConnListCmd(t *testing.T) {

View File

@@ -6,8 +6,8 @@ import (
"time" "time"
"github.com/fatih/color" "github.com/fatih/color"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
connclient "github.com/sailpoint-oss/sp-cli/cmd/connector/client" connclient "github.com/sailpoint-oss/sailpoint-cli/cmd/connector/client"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/spf13/viper" "github.com/spf13/viper"
) )

View File

@@ -4,8 +4,8 @@ package connector
import ( import (
"time" "time"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
connclient "github.com/sailpoint-oss/sp-cli/cmd/connector/client" connclient "github.com/sailpoint-oss/sailpoint-cli/cmd/connector/client"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@@ -6,8 +6,8 @@ import (
"time" "time"
"github.com/olekukonko/tablewriter" "github.com/olekukonko/tablewriter"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
connclient "github.com/sailpoint-oss/sp-cli/cmd/connector/client" connclient "github.com/sailpoint-oss/sailpoint-cli/cmd/connector/client"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/spf13/viper" "github.com/spf13/viper"
) )

View File

@@ -4,7 +4,7 @@ package connector
import ( import (
"fmt" "fmt"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@@ -10,8 +10,8 @@ import (
"strconv" "strconv"
"github.com/olekukonko/tablewriter" "github.com/olekukonko/tablewriter"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
"github.com/sailpoint-oss/sp-cli/util" "github.com/sailpoint-oss/sailpoint-cli/util"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@@ -8,8 +8,8 @@ import (
"net/http" "net/http"
"github.com/olekukonko/tablewriter" "github.com/olekukonko/tablewriter"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
"github.com/sailpoint-oss/sp-cli/util" "github.com/sailpoint-oss/sailpoint-cli/util"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@@ -10,8 +10,8 @@ import (
"strconv" "strconv"
"github.com/olekukonko/tablewriter" "github.com/olekukonko/tablewriter"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
"github.com/sailpoint-oss/sp-cli/util" "github.com/sailpoint-oss/sailpoint-cli/util"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@@ -8,8 +8,8 @@ import (
"testing" "testing"
"github.com/golang/mock/gomock" "github.com/golang/mock/gomock"
"github.com/sailpoint-oss/sp-cli/mocks" "github.com/sailpoint-oss/sailpoint-cli/mocks"
"github.com/sailpoint-oss/sp-cli/util" "github.com/sailpoint-oss/sailpoint-cli/util"
) )
// Unit tests for conn.go // Unit tests for conn.go

View File

@@ -9,8 +9,8 @@ import (
"net/http" "net/http"
"github.com/olekukonko/tablewriter" "github.com/olekukonko/tablewriter"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
"github.com/sailpoint-oss/sp-cli/util" "github.com/sailpoint-oss/sailpoint-cli/util"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@@ -9,7 +9,7 @@ import (
"testing" "testing"
"github.com/golang/mock/gomock" "github.com/golang/mock/gomock"
"github.com/sailpoint-oss/sp-cli/mocks" "github.com/sailpoint-oss/sailpoint-cli/mocks"
) )
func TestNewConnUpdateCmd_missingRequiredFlags(t *testing.T) { func TestNewConnUpdateCmd_missingRequiredFlags(t *testing.T) {

View File

@@ -8,8 +8,8 @@ import (
"github.com/logrusorgru/aurora" "github.com/logrusorgru/aurora"
"github.com/olekukonko/tablewriter" "github.com/olekukonko/tablewriter"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
connvalidate "github.com/sailpoint-oss/sp-cli/cmd/connector/validate" connvalidate "github.com/sailpoint-oss/sailpoint-cli/cmd/connector/validate"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@@ -18,9 +18,9 @@ import (
"github.com/logrusorgru/aurora" "github.com/logrusorgru/aurora"
"github.com/olekukonko/tablewriter" "github.com/olekukonko/tablewriter"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
connvalidate "github.com/sailpoint-oss/sp-cli/cmd/connector/validate" connvalidate "github.com/sailpoint-oss/sailpoint-cli/cmd/connector/validate"
"github.com/sailpoint-oss/sp-cli/util" "github.com/sailpoint-oss/sailpoint-cli/util"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"gopkg.in/alessio/shellescape.v1" "gopkg.in/alessio/shellescape.v1"
"gopkg.in/yaml.v2" "gopkg.in/yaml.v2"

View File

@@ -8,8 +8,8 @@ import (
"net/http" "net/http"
"github.com/olekukonko/tablewriter" "github.com/olekukonko/tablewriter"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
"github.com/sailpoint-oss/sp-cli/util" "github.com/sailpoint-oss/sailpoint-cli/util"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@@ -9,7 +9,7 @@ import (
"testing" "testing"
"github.com/golang/mock/gomock" "github.com/golang/mock/gomock"
"github.com/sailpoint-oss/sp-cli/mocks" "github.com/sailpoint-oss/sailpoint-cli/mocks"
) )
func TestNewConnVersionsCmd_missingRequiredFlags(t *testing.T) { func TestNewConnVersionsCmd_missingRequiredFlags(t *testing.T) {

View File

@@ -5,7 +5,7 @@ import (
"time" "time"
"github.com/kr/pretty" "github.com/kr/pretty"
connclient "github.com/sailpoint-oss/sp-cli/cmd/connector/client" connclient "github.com/sailpoint-oss/sailpoint-cli/cmd/connector/client"
) )
var accountCreateChecks = []Check{ var accountCreateChecks = []Check{

View File

@@ -6,7 +6,7 @@ import (
"strconv" "strconv"
"github.com/kr/pretty" "github.com/kr/pretty"
connclient "github.com/sailpoint-oss/sp-cli/cmd/connector/client" connclient "github.com/sailpoint-oss/sailpoint-cli/cmd/connector/client"
) )
var accountReadChecks = []Check{ var accountReadChecks = []Check{

View File

@@ -4,7 +4,7 @@ import (
"context" "context"
"time" "time"
connclient "github.com/sailpoint-oss/sp-cli/cmd/connector/client" connclient "github.com/sailpoint-oss/sailpoint-cli/cmd/connector/client"
) )
var accountUpdateChecks = []Check{ var accountUpdateChecks = []Check{

View File

@@ -4,7 +4,7 @@ import (
"context" "context"
"fmt" "fmt"
connclient "github.com/sailpoint-oss/sp-cli/cmd/connector/client" connclient "github.com/sailpoint-oss/sailpoint-cli/cmd/connector/client"
) )
var Checks = []Check{} var Checks = []Check{}

View File

@@ -4,7 +4,7 @@ import (
"context" "context"
"github.com/kr/pretty" "github.com/kr/pretty"
connclient "github.com/sailpoint-oss/sp-cli/cmd/connector/client" connclient "github.com/sailpoint-oss/sailpoint-cli/cmd/connector/client"
) )
var entitlementReadChecks = []Check{ var entitlementReadChecks = []Check{

View File

@@ -4,7 +4,7 @@ import (
"context" "context"
"encoding/json" "encoding/json"
connclient "github.com/sailpoint-oss/sp-cli/cmd/connector/client" connclient "github.com/sailpoint-oss/sailpoint-cli/cmd/connector/client"
) )
var testConnChecks = []Check{ var testConnChecks = []Check{

View File

@@ -9,7 +9,7 @@ import (
"strconv" "strconv"
"strings" "strings"
connclient "github.com/sailpoint-oss/sp-cli/cmd/connector/client" connclient "github.com/sailpoint-oss/sailpoint-cli/cmd/connector/client"
) )
// entitlementAttr returns the attribute for entitlements // entitlementAttr returns the attribute for entitlements

View File

@@ -9,7 +9,7 @@ import (
"strings" "strings"
"time" "time"
connclient "github.com/sailpoint-oss/sp-cli/cmd/connector/client" connclient "github.com/sailpoint-oss/sailpoint-cli/cmd/connector/client"
) )
// Validator runs checks for a specific connector // Validator runs checks for a specific connector

View File

@@ -8,7 +8,7 @@ import (
"log" "log"
"path/filepath" "path/filepath"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/spf13/viper" "github.com/spf13/viper"

View File

@@ -4,9 +4,9 @@ package root
import ( import (
"fmt" "fmt"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
"github.com/sailpoint-oss/sp-cli/cmd/connector" "github.com/sailpoint-oss/sailpoint-cli/cmd/connector"
"github.com/sailpoint-oss/sp-cli/cmd/transform" "github.com/sailpoint-oss/sailpoint-cli/cmd/transform"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@@ -8,7 +8,7 @@ import (
"testing" "testing"
"github.com/golang/mock/gomock" "github.com/golang/mock/gomock"
"github.com/sailpoint-oss/sp-cli/mocks" "github.com/sailpoint-oss/sailpoint-cli/mocks"
) )
// Expected number of subcommands to `sp` root command // Expected number of subcommands to `sp` root command

View File

@@ -10,8 +10,8 @@ import (
"net/http" "net/http"
"os" "os"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
"github.com/sailpoint-oss/sp-cli/util" "github.com/sailpoint-oss/sailpoint-cli/util"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@@ -6,8 +6,8 @@ import (
"io" "io"
"net/http" "net/http"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
"github.com/sailpoint-oss/sp-cli/util" "github.com/sailpoint-oss/sailpoint-cli/util"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@@ -10,7 +10,7 @@ import (
"os" "os"
"path/filepath" "path/filepath"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@@ -8,8 +8,8 @@ import (
"net/http" "net/http"
"github.com/olekukonko/tablewriter" "github.com/olekukonko/tablewriter"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
transmodel "github.com/sailpoint-oss/sp-cli/cmd/transform/model" transmodel "github.com/sailpoint-oss/sailpoint-cli/cmd/transform/model"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@@ -11,9 +11,9 @@ import (
"net/url" "net/url"
"os" "os"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
transmodel "github.com/sailpoint-oss/sp-cli/cmd/transform/model" transmodel "github.com/sailpoint-oss/sailpoint-cli/cmd/transform/model"
"github.com/sailpoint-oss/sp-cli/util" "github.com/sailpoint-oss/sailpoint-cli/util"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/spf13/viper" "github.com/spf13/viper"
) )

View File

@@ -4,7 +4,7 @@ package transform
import ( import (
"fmt" "fmt"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/spf13/viper" "github.com/spf13/viper"
) )

View File

@@ -10,8 +10,8 @@ import (
"net/http" "net/http"
"os" "os"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
"github.com/sailpoint-oss/sp-cli/util" "github.com/sailpoint-oss/sailpoint-cli/util"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

2
go.mod
View File

@@ -1,4 +1,4 @@
module github.com/sailpoint-oss/sp-cli module github.com/sailpoint-oss/sailpoint-cli
go 1.16 go 1.16

View File

@@ -5,8 +5,8 @@ import (
"os" "os"
"path/filepath" "path/filepath"
"github.com/sailpoint-oss/sp-cli/client" "github.com/sailpoint-oss/sailpoint-cli/client"
"github.com/sailpoint-oss/sp-cli/cmd/root" "github.com/sailpoint-oss/sailpoint-cli/cmd/root"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/spf13/viper" "github.com/spf13/viper"
) )