mirror of
https://github.com/LukeHagar/sailpoint-cli.git
synced 2025-12-06 12:47:44 +00:00
31 lines
583 B
Go
31 lines
583 B
Go
// Copyright (c) 2023, SailPoint Technologies, Inc. All rights reserved.
|
|
package sdk
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func newInitCommand() *cobra.Command {
|
|
|
|
cmd := &cobra.Command{
|
|
Use: "init",
|
|
Short: "Initialize SDK projects",
|
|
Long: "\nInitialize SDK projects\n\n",
|
|
Example: "sail sdk init",
|
|
Aliases: []string{"temp"},
|
|
Args: cobra.MaximumNArgs(1),
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
cmd.Help()
|
|
},
|
|
}
|
|
|
|
cmd.AddCommand(
|
|
newTypescriptCommand(),
|
|
newGolangCommand(),
|
|
newPowerShellCommand(),
|
|
newConfigCommand(),
|
|
)
|
|
|
|
return cmd
|
|
}
|