Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to pass multiple commands in one line #619

Open
SupDos opened this issue Nov 6, 2023 · 2 comments
Open

Ability to pass multiple commands in one line #619

SupDos opened this issue Nov 6, 2023 · 2 comments

Comments

@SupDos
Copy link

SupDos commented Nov 6, 2023

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

@Spike1377
Copy link

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

@SupDos
Copy link
Author

SupDos commented Jan 2, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants