Mixing an option parser with the existing argv/arvc style parser creates a confusing set of conditionals with large if/then inside a case statement.
On reflection, I don't think this feature has a place in quickget. For anyone with existing iso image, quickemu configurations can be hand crafted. Perhaps the additional of a "quickconf" would be a better way to quickly create VM configs from existing ISO images.
* Start adding params for existing isos
* Merge parameter handling code
* initial testing seems reasonable
Note that if copying files in, "wget -c " will assume
smaller-than-remote files are parts and continue
so likely will cause hashing failures
or if no hash check then corrupt isos.
* Added usage for --help
* Usage enhanced and added to Readme
* spurios unused cruft removed
* Fixed race
adding belts and braces
* Removed debugging and cruft
* Not yet able to cache windows because windows
* Working for cached macos
with limitations
* Removed big list of itemised defaults
There are list() functions and docs - spelling out the list of
OS options here just adds work and maintenance overhead.
* Removed misleading chatter
Already took out the incorrect phrasing. With most now
being default the output is over-noisy and probably unhelpful.
* Start adding params for existing isos
* Merge parameter handling code
* initial testing seems reasonable
Note that if copying files in, "wget -c " will assume
smaller-than-remote files are parts and continue
so likely will cause hashing failures
or if no hash check then corrupt isos.
* Added usage for --help
* Usage enhanced and added to Readme
* spurios unused cruft removed
* Replace multiple if statements with case and OR
* Fix case statement per review suggestion
* Added default fallback for undefined OSs
Co-authored-by: Martin Wimpress <304639+flexiondotorg@users.noreply.github.com>