Closed ModernMAK closed 7 months ago
relic-tool-sga-v2 v1.1.0 now supports a CLI relic-tool-sga-core v1.1.0 now supports a CLI relic-tool-core v1.1.1 defines the root CLI
debating whether to keep this open and add tasks for other packages listed on the front page or close it for now.
As the previous comment says; SGA-V2 supports this, and with the reduction of scope (#45); only chunky lacks a CLI
Since this is only about SGA's closing the issue
A Relic Tool CLI was made at one point, but it doesn't seem to be included on the main page, or in the repo's private work-in-progress repos.
A CLI for V2 now exists in #35 but only works for Dawn of War, and exposes the issues of 'setting up' file metadata before saving.
Previously it was designed to work as such
relic [sga, chunky] [pack, unpack] [-args]
This allowed one CLI to handle several subprograms, but this requires argparser to know of them in advance.
It does introduce the problem of keeping packages atomic from a UX perspective.
E.G. if no SGA packages are installed, should a dummy SGA parser be provided to notify the user that it needs to be installed? This could work, as the SGA min-version could be specfied via extras, avoiding the hard dependency which I've been trying to minimize.