Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GetConfigDataCmd = &cobra.Command{ Use: "getConfigData", Short: "A brief description of your command", Long: ``, Run: func(cmd *cobra.Command, args []string) { authFlag, clientAuth, err := authenticate.SubCommandAuth(cmd) if err != nil { cmd.Help() return } if authFlag { keyId, _ := cmd.Flags().GetString("keyId") if keyId != "" { GetKeysData(keyId, *clientAuth) } else { log.Fatalln("keyId not provided. program exit") } } }, }
GetConfigDataCmd represents the getConfigData command
Functions ¶
func GetKeysData ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.