cli icon indicating copy to clipboard operation
cli copied to clipboard

MAS CLI installation needs case validation for language selection

Open BrendanFishback opened this issue 11 months ago • 1 comments

Feature and motivation

During the MAS / Manage installation process using the CLI, one of the steps is to provide secondary / additional languages. If you provide an additional language in a lower case (for example, 'fr' instead of 'FR') it will continue without returning a warning/error message. However, the installation will still fail later due to the lowercase language code.

The suggestion is for the CLI to either immediately prompt an error if a lowercase language code is provided, or have the installer automatically convert the lowercase language code into its proper capitalized form.

Usage example

This enhancement would avoid a lot of situations where time is lost due to failed installations because the error would be caught much earlier.

BrendanFishback avatar Jan 22 '25 19:01 BrendanFishback

We can easily convert the input to lowercase automatically

durera avatar Mar 07 '25 11:03 durera