Problem Description:
The main.sh script relies heavily on gum for its interactive Terminal User Interface (TUI), using various features and flags (e.g., --height, --placeholder, --spinner, --style options). However, the script does not perform any version check for gum. If a user has an older version of gum installed that predates certain features or flags used by aci, the script can fail unexpectedly, misrender TUI elements, or behave inconsistently due to unsupported gum arguments. This creates a brittle dependency, where aci's functionality is implicitly tied to a specific (and unverified) gum version.
Impact:
- Leads to a broken or significantly degraded user experience for users with incompatible
gum versions.
- Can cause confusing error messages that do not clearly indicate a
gum version mismatch.
- Hindered adoption for users who might encounter this with their existing
gum installations.
Steps to Reproduce:
- (Hypothetically) Install a version of
gum known to be older than the version aci was developed against (e.g., if aci uses a feature introduced in gum v0.10.0, install v0.9.0).
- Run
main.sh.
- Navigate through various menu options.
- Expected:
aci functions correctly, or if gum is too old, it provides a clear warning and guidance.
- Actual: The script might encounter runtime errors due to unrecognized
gum flags, or the TUI might not render as intended without a clear explanation for the user.
Problem Description:
The
main.shscript relies heavily ongumfor its interactive Terminal User Interface (TUI), using various features and flags (e.g.,--height,--placeholder,--spinner,--styleoptions). However, the script does not perform any version check forgum. If a user has an older version ofguminstalled that predates certain features or flags used byaci, the script can fail unexpectedly, misrender TUI elements, or behave inconsistently due to unsupportedgumarguments. This creates a brittle dependency, whereaci's functionality is implicitly tied to a specific (and unverified)gumversion.Impact:
gumversions.gumversion mismatch.guminstallations.Steps to Reproduce:
gumknown to be older than the versionaciwas developed against (e.g., ifaciuses a feature introduced ingum v0.10.0, installv0.9.0).main.sh.acifunctions correctly, or ifgumis too old, it provides a clear warning and guidance.gumflags, or the TUI might not render as intended without a clear explanation for the user.