I'm looking at the Weidu command-line options, and they seem a bit slim as far as customizing the install experience. As far as specifying individual components, I see --force-install, --force-install-list, --force-install-rest... and that's it. The issue with those is, well, they force-install things.
It would be nice if there was an option like "--only-ask-list," which would be like --force-install-list, but give the user the
option of installing the specified components. The standard Weidu install prompt would occur, but limit which components are presented to the user. In essence it would act like non-specified components were commented out of the .tp2 file.
The specific motivation behind this has to do with the MacOS Weidu Launcher,
which is described here. That little app does not exactly qualify as a mod manager; the best I can cobble together is something that presents the user with a list of available mods and opens the typical Weidu process at a command prompt. The app present the list in a suggested install order, and therein lies the problem: some mods need certain components to go here, and certain components to go there. Ideally, I would present the list like:
- d5_Random_Tweaks: 100 200 300
- CDTweaks
- Stratagems
- d5_Random_Tweaks: 400
Since this is not a full-fledged app like BWS/PI, I can't use checkboxes and --force-install. But if I could take the user's choice and fashion the underlying Terminal command like
./weidu d5_random_tweaks.tp2 --ask-only-list 100 200 300
That would greatly assist in fashioning a more helpful and accurate install order. (It may be useful in other contexts too! This is just what I am working on right now.)