Files
sailpoint-cli/cmd/sdk/init.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
}