mirror of
https://github.com/LukeHagar/sailpoint-cli.git
synced 2025-12-09 12:47:44 +00:00
SDK command Initial commit
Implemented framework for most of the commands, saving progress for now
This commit is contained in:
28
cmd/sdk/sdk.go
Normal file
28
cmd/sdk/sdk.go
Normal 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
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user