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

Add check or dry-run command to verify if there is anything to sync #308

Open
adaliszk opened this issue Oct 3, 2023 · 2 comments
Open

Comments

@adaliszk
Copy link

adaliszk commented Oct 3, 2023

First off, thank you very much for doing this excellent utility!

As a server owner who tries to add a simple mod for its users to click and sync mods, I want to do a preflight check where the users would get a confirmation if they need to close Minecraft or not. For this, we need a dry-run check to see if any work needs to be done. Ideally, this would be a new flag, like --check which would verify the files to be synced and return an OK or ERROR status code to any CLI executor.

Context:

  • Serversync Version: 4.2.0
  • Minecraft Version: 1.20.1
@rheimus
Copy link
Collaborator

rheimus commented Oct 18, 2023

This would presumably be the client side doing a check against the server?

Would this also log some sort of list of missing files along with exiting non zero?

@adaliszk
Copy link
Author

Ideally it would be nice to log out the result, though for that I wanted to open a new ticket to add a --json flag to convert the output so that inter-process calls would able to efficiently communicate :)

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

No branches or pull requests

2 participants