- Remove `sdk offline` command and all associated code
- Delete offline_mode.feature entirely
- Replace SDKMAN_OFFLINE_MODE env var with sdkman_healthcheck_enable config flag
- When sdkman_healthcheck_enable=false, skip the startup healthcheck entirely
(SDKMAN_AVAILABLE stays true; commands proceed and fail naturally if offline)
- Update INTERNET NOT REACHABLE warning to reference new config option
- Rename __sdkman_display_offline_warning -> __sdkman_display_network_warning
- Remove withOfflineMode() from SdkmanBashEnvBuilder and test step definitions
- Update service_unavailable.feature: drop offline-list fallback scenarios,
update error message strings to match new wording
- Remove offline from bash completion script
- Fixes#1484 (sdk offline was triggering network traffic before mode engaged)
- Closes#1517
* Unify Bash's and zsh's programmable completion
* Perform autocompletion for short options
* Use SDKMAN_CANDIDATES for resolving candidates
* Handle `read` edge case
The `read` built-in uses IFS for word delimiters, and `-d` for
delimiting _where to stop reading_. We are parsing CSV, so the
combination of `IFS= -d,` results in only the first word.
Further, `read -a` fills an array variable so we don't need a loop.
* Add edit command to help output
* Add edit command to Bash completion
* Rename edit command to config
Co-authored-by: Oliver Weiler <oliver.weiler@meinestadt.de>