legendary icon indicating copy to clipboard operation
legendary copied to clipboard

Ability to pass multiple commands in one line

Open SupDos opened this issue 2 years ago • 2 comments

When using legendary launch <Game>, if there is any issue whatsoever such as login credentials being out of date or the game needing an update, legendary will only inform you about this, but it won't try to fix the issue.

Currently I've got a batch script that basically just does 3 commands one after another, legendary auth&&legendary update <Game>&&legendary launch <Game>, so if I ever need to log in, it will prompt me to, if I ever need to update the game it will prompt me to, and otherwise it will just launch the game.

Describe the solution you'd like A way of passing multiple commands in one line, for example legendary auth update <Game> launch <Game>, which would do each command one after another

SupDos avatar Nov 06 '23 16:11 SupDos

shouldnt it be legendary auth update launch <game> ?

orr maybe passing -y at the end should run 'update' or 'auth' or both depending on the error idk how to program this

Spike1377 avatar Jan 02 '24 04:01 Spike1377

It would hopefully be possible to use any other command as well, not just these 3, so update would need the game name argument just as it does usually

SupDos avatar Jan 02 '24 11:01 SupDos