SDK command Initial commit

Implemented framework for most of the commands, saving progress for now
This commit is contained in:
luke-hagar-sp
2023-06-21 14:34:30 -05:00
parent cd17ad2932
commit 3612d5c939
15 changed files with 397 additions and 7 deletions

28
cmd/sdk/sdk.go Normal file
View File

@@ -0,0 +1,28 @@
// Copyright (c) 2023, SailPoint Technologies, Inc. All rights reserved.
package sdk
import (
"fmt"
"github.com/spf13/cobra"
)
func NewSDKCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "sdk",
Short: "Initialize or configure SDK projects",
Long: "\nInitialize or configure SDK projects\n\n",
Example: "sail sdk",
Args: cobra.MaximumNArgs(1),
Run: func(cmd *cobra.Command, args []string) {
_, _ = fmt.Fprint(cmd.OutOrStdout(), cmd.UsageString())
},
}
cmd.AddCommand(
newInitCmd(),
)
return cmd
}