// AddServiceAccount adds a flag to pass a service account client ID principal
AddServiceAccount adds a flag to pass a service account client ID principal
// AddServiceAccount adds a flag to pass a service account client ID principal
func (fs *flagSet) AddServiceAccount(serviceAccountID *string) *flagutil.FlagOptions {
	flagName := "service-account"
	fs.StringVar(
		serviceAccountID,
		flagName,
		"",
		fs.factory.Localizer.MustLocalize("kafka.acl.common.flag.serviceAccount.description"),
	)
	_ = flagutil.RegisterServiceAccountCompletionFunc(fs.cmd, fs.factory)
	return flagutil.WithFlagOptions(fs.cmd, flagName)
}
func ( fs * flagSet ) AddServiceAccount ( serviceAccountID * string ) * flagutil . FlagOptions { flagName := " " fs . StringVar ( serviceAccountID , flagName , " " , fs . factory . Localizer . MustLocalize ( " " ) , ) _ = flagutil . RegisterServiceAccountCompletionFunc ( fs . cmd , fs . factory ) return flagutil . WithFlagOptions ( fs . cmd , flagName ) }
AddServiceAccount adds a flag to pass a service account client ID principal
AddServiceAccount adds a flag to pass a service account client ID principal