mirror of
https://github.com/LukeHagar/sailpoint-cli.git
synced 2025-12-06 04:21:15 +00:00
26 lines
528 B
Go
26 lines
528 B
Go
// Copyright (c) 2023, SailPoint Technologies, Inc. All rights reserved.
|
|
package connector
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/sailpoint-oss/sailpoint-cli/internal/client"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func newConnInstancesCmd(client client.Client) *cobra.Command {
|
|
cmd := &cobra.Command{
|
|
Use: "instances",
|
|
Short: "Manage connector instances",
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
_, _ = fmt.Fprintf(cmd.OutOrStdout(), cmd.UsageString())
|
|
},
|
|
}
|
|
|
|
cmd.AddCommand(
|
|
newInstanceListCmd(client),
|
|
)
|
|
|
|
return cmd
|
|
}
|