@ -49,8 +51,10 @@ var imagePolicyArgs = imagePolicyFlags{}
funcinit(){
funcinit(){
flags:=createImagePolicyCmd.Flags()
flags:=createImagePolicyCmd.Flags()
flags.StringVar(&imagePolicyArgs.imageRef,"image-ref","","the name of an image repository object")
flags.StringVar(&imagePolicyArgs.imageRef,"image-ref","","the name of an image repository object")
flags.StringVar(&imagePolicyArgs.semver,"semver","","a semver range to apply to tags; e.g., '1.x'")
flags.StringVar(&imagePolicyArgs.semver,"select-semver","","a semver range to apply to tags; e.g., '1.x'")
flags.StringVar(&imagePolicyArgs.filterRegex,"filter-regex",""," regular expression pattern used to filter the image tags")
flags.StringVar(&imagePolicyArgs.alpha,"select-alpha","","use alphabetical sorting to select image; either \"asc\" meaning select the last, or \"desc\" meaning select the first")
flags.StringVar(&imagePolicyArgs.filterRegex,"filter-regex","","regular expression pattern used to filter the image tags")
flags.StringVar(&imagePolicyArgs.filterExtract,"filter-extract","","replacement pattern (using capture groups from --filter-regex) to use for sorting")