v1.16.0 Two new options: -a, --auto-fetch Toggle on/off automatic JSON fetching -u, --update-json Update the locally stored JSON file This update marks a significant transformation in the internal workings of dl-distro: - Reduced Bash code complexity in dl-distro by removing 355 lines, achieving a 34.77% decrease. - Enhanced the JSON file with an addition of 591 lines, corresponding to a 32.65% increase. **Key Changes:** - **Old Approach:** The previous version of dl-distro utilized complex combinational logic to construct a jq query for data retrieval. - **New Strategy:** The latest release enables dl-distro to recursively navigate through the JSON file. It progressively presents available options to the user, ending when it reaches a URL entry, meaning we have reached the endpoint we want. This method simplifies the Bash code tremendously and enhances maintainability. **Implications of the Update:** - **Dynamic Parsing:** dl-distro now dynamically interprets the JSON file, which means additions to distributions will not necessitate updates to the script. Users will automatically see new entries in the JSON file. - **Update Requirements:** Updates to the script will only be required when new distributions are added or if there are incompatibilities introduced in the JSON file. This update is focused on enhancing maintainability for the project and reducing the need for frequent updates, streamlining the overall experience. Full commit log: - https://codeberg.org/bashuser30/dl-distro/compare/v1.15.3...v1.16.0