gorilla-devs / ferium

Fast and multi-source CLI program for managing Minecraft mods and modpacks from Modrinth, CurseForge, and GitHub Releases
Mozilla Public License 2.0
1.16k stars 49 forks source link

Enhancement for the `remove` command #39

Closed JustSimplyKyle closed 2 years ago

JustSimplyKyle commented 2 years ago

In the current verison you have to use the --mod-names flag to straight up delete the mod from cli without using the interface. I hope that an auto detect could be implemented. What I mean is: If i just type ferium remove, do what is currently implemented But if I type ferium remove Iris, directly remove iris from the profile This would save time in big modpacks

theRookieCoder commented 2 years ago

The problem is clap does not allow optional arguments, I'm pretty sure the reason has something to do with parsing the arguments. Optional arguments are what flags are for, but I'll see what I can do. This is a list so it might be possible to use it optionally.

theRookieCoder commented 2 years ago

Miraculously it actually works perfectly! Added in 4c82445ea25b4f78f592c91631d6663f7a229dad