remove default for --image-type so we can detect user intent

This commit is contained in:
Matthew Farrellee 2025-05-15 12:36:58 -04:00
parent 8a18d5ecbf
commit 3aba169dd4

View file

@ -49,7 +49,7 @@ class StackBuild(Subcommand):
type=str,
help="Image Type to use for the build. If not specified, will use the image type from the template config.",
choices=[e.value for e in ImageType],
default=ImageType.CONDA.value,
default=None, # no default so we can detect if a user specified --image-type and override image_type in the config
)
self.parser.add_argument(