Gwindalmir / SEWorkshopTool

Tool which allows batch upload and download of mods for both Space and Medieval Engineers.
32 stars 16 forks source link

Revamp command-line interface for more control #19

Closed Gwindalmir closed 3 years ago

Gwindalmir commented 5 years ago

The command-line interface is currently unintuitive and inflexible. For example, to set tags, you have to use --tags list of tags. However you have to relist every tag you want to keep, along with the changes you want to make. To remove tags currently, you have to set only a type tag (ie. --tags Mod for mods).

There should be a more intuitive interface, such as:

Change the interaction system to work based off verbs instead (like git). So, instead of seworkshoptool.exe --download --mods list of mods, it would be seworkshoptool.exe download --mods list of mods

Ideally, the command-line could also accept multiple overloads of options for multiple mods. For example: upload --mods mod1 --tags tags for mod1 --mods mod2 --tags tags for mod2 However, that's unlikely to happen without significant work.

These are breaking changes, but are for the best overall. I posted this for two reasons:

Gwindalmir commented 3 years ago

The final implementation uses different verbs than listed in the OP. Download is get, upload is push.

The original command-line arguments will continue to be recognized until 0.8.