When migrating the install subcommand to Rust, add validation to reject local version names that:
-
Contain special characters (commas, etc.)
-
Clash with available remote version names
Validation rules:
- Reject commas and other special characters in local version names during
sdk install
- Reject local version names that match any available remote version for the candidate
- Provide clear error messages for each validation failure
This consolidates local version name validation into a single comprehensive issue for the Rust native CLI.
When migrating the
installsubcommand to Rust, add validation to reject local version names that:Contain special characters (commas, etc.)
CE-21.0.0.2,-8) are accepted during installation but break thelistoutput, which uses comma-separated lists to communicate version data to the server.,in name are listed as multiple versions. sdkman-cli#911Clash with available remote version names
Validation rules:
sdk installThis consolidates local version name validation into a single comprehensive issue for the Rust native CLI.