Neocky / pluGET

📦 Powerful Package manager which updates plugins & server software for minecraft servers
Apache License 2.0
150 stars 27 forks source link

Bash commandline commands, outside of UI #22

Closed Freddo3000 closed 2 years ago

Freddo3000 commented 3 years ago

Is your feature request related to a problem? Please describe. As I interpret the documentation, pluGET can only run commands from its own command line UI. This might make it problematic to manage from other scripts, such as bash, where the UI might get in the way of the functionality.

If this functionality is already present, close this ticket and mention it in the documentation.

Describe the solution you'd like I'd like to be able to run commands directly from bash command line, such as being able to run ./launcher.sh update all to update all plugins, or ./launcher.sh update serverjar 'PaperMCVersion' to update the server. A argument flag could be useful to declare when it is being used this way.

An example of software being used this way is SteamCMD.

Describe alternatives you've considered N/A

Additional context I've not yet installed pluGET, though it interests me. My concern is being able to use it for automating server maintenance, which I try to do as much as possible so I can focus on management.

Neocky commented 3 years ago

Hey @Freddo3000, thank you for your suggestion! This is a good enhancement but unfortunately this isn't too high on the priority list as of now. There are other things that need to be done before i can work on your issue. I will let the issue open for the future!

rbos commented 3 years ago

pluGET would very much benefit from this. I can kinda make do by sending commands through tmux consoles.

Neocky commented 2 years ago

Hey @Freddo3000, @rbos, i added this in version v1.7.0 Now you can call directly pluGET commands from the console like this:

py pluget.py check all

Have a good day guys :wave: