Usage:fmt.Sprintf("The version of the %s against which to perform an update operation. If not specified, the command will perform a check-and-set automatically.",resourceType),
Usage:"If set, the list operation will be filtered before being returned. The filter operates against each item in the list. Using single quotes is recommended as filters contain double quotes. See https://www.boundaryproject.io/docs/concepts/filtering/resource-listing for details.",
Usage:`A JSON map value to use as the entirety of the request's attributes map. Usually this will be sourced from a file via "file://" syntax.`,
})
case"attr":
f.CombinationSliceVar(&base.CombinationSliceVar{
Name:"attr",
Target:&c.FlagAttrs,
KvSplit:true,
KeyDelimiter:&keyDelimiter,
ProtoCompatKey:true,
Usage:`A key=value attribute to add to the request's attributes map. The type is automatically inferred. Use -string-attr, -bool-attr, or -num-attr if the type needs to be overridden. Can be specified multiple times. Supports sourcing values from files via "file://" and env vars via "env://"`,
})
case"string-attr":
f.CombinationSliceVar(&base.CombinationSliceVar{
Name:"string-attr",
Target:&c.FlagAttrs,
KvSplit:true,
KeyDelimiter:&keyDelimiter,
ProtoCompatKey:true,
Usage:`A key=value string attribute to add to the request's attributes map. Can be specified multiple times. Supports sourcing values from files via "file://" and env vars via "env://"`,
})
case"bool-attr":
f.CombinationSliceVar(&base.CombinationSliceVar{
Name:"bool-attr",
Target:&c.FlagAttrs,
KvSplit:true,
KeyDelimiter:&keyDelimiter,
ProtoCompatKey:true,
Usage:`A key=value bool attribute to add to the request's attributes map. Can be specified multiple times. Supports sourcing values from files via "file://" and env vars via "env://"`,
})
case"num-attr":
f.CombinationSliceVar(&base.CombinationSliceVar{
Name:"num-attr",
Target:&c.FlagAttrs,
KvSplit:true,
KeyDelimiter:&keyDelimiter,
ProtoCompatKey:true,
Usage:`A key=value numeric attribute to add to the request's attributes map. Can be specified multiple times. Supports sourcing values from files via "file://" and env vars via "env://"`,
Usage:`A JSON map value to use as the entirety of the request's secrets map. Usually this will be sourced from a file via "file://" syntax.`,
})
case"secret":
f.CombinationSliceVar(&base.CombinationSliceVar{
Name:"secret",
Target:&c.FlagScrts,
KvSplit:true,
KeyDelimiter:&keyDelimiter,
ProtoCompatKey:true,
Usage:`A key=value secret to add to the request's secrets map. The type is automatically inferred. Use -string-secret, -bool-secret, or -num-secret if the type needs to be overridden. Can be specified multiple times. Supports sourcing values from files via "file://" and env vars via "env://"`,
})
case"string-secret":
f.CombinationSliceVar(&base.CombinationSliceVar{
Name:"string-secret",
Target:&c.FlagScrts,
KvSplit:true,
KeyDelimiter:&keyDelimiter,
ProtoCompatKey:true,
Usage:`A key=value string secret to add to the request's secrets map. Can be specified multiple times. Supports sourcing values from files via "file://" and env vars via "env://"`,
})
case"bool-secret":
f.CombinationSliceVar(&base.CombinationSliceVar{
Name:"bool-secret",
Target:&c.FlagScrts,
KvSplit:true,
KeyDelimiter:&keyDelimiter,
ProtoCompatKey:true,
Usage:`A key=value bool secret to add to the request's secrets map. Can be specified multiple times. Supports sourcing values from files via "file://" and env vars via "env://"`,
})
case"num-secret":
f.CombinationSliceVar(&base.CombinationSliceVar{
Name:"num-secret",
Target:&c.FlagScrts,
KvSplit:true,
KeyDelimiter:&keyDelimiter,
ProtoCompatKey:true,
Usage:`A key=value numeric secret to add to the request's secrets map. Can be specified multiple times. Supports sourcing values from files via "file://" and env vars via "env://"`,
})
}
}
}
// From https://stackoverflow.com/a/13340826, modified to remove exponents