mirror of
https://github.com/LukeHagar/sailpoint-cli.git
synced 2025-12-06 04:21:15 +00:00
31 lines
675 B
Go
31 lines
675 B
Go
// Copyright (c) 2021, SailPoint Technologies, Inc. All rights reserved.
|
|
package va
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/sailpoint-oss/sailpoint-cli/internal/terminal"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func NewVACmd(term terminal.Terminal) *cobra.Command {
|
|
cmd := &cobra.Command{
|
|
Use: "va",
|
|
Short: "Interact with SailPoint Virtual Appliances",
|
|
Long: "\nInteract with SailPoint Virtual Appliances\n\n",
|
|
Aliases: []string{"va"},
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
_, _ = fmt.Fprint(cmd.OutOrStdout(), cmd.UsageString())
|
|
},
|
|
}
|
|
|
|
cmd.AddCommand(
|
|
newCollectCmd(term),
|
|
// newTroubleshootCmd(),
|
|
newUpdateCmd(term),
|
|
newParseCmd(),
|
|
)
|
|
|
|
return cmd
|
|
}
|