30 lines
713 B
Java
30 lines
713 B
Java
package ru.gravit.launchserver.command.hash;
|
|
|
|
import java.io.IOException;
|
|
|
|
import ru.gravit.launcher.helper.LogHelper;
|
|
import ru.gravit.launchserver.LaunchServer;
|
|
import ru.gravit.launchserver.command.Command;
|
|
|
|
public final class SyncProfilesCommand extends Command {
|
|
public SyncProfilesCommand(LaunchServer server) {
|
|
super(server);
|
|
}
|
|
|
|
@Override
|
|
public String getArgsDescription() {
|
|
return null;
|
|
}
|
|
|
|
@Override
|
|
public String getUsageDescription() {
|
|
return "Resync profiles dir";
|
|
}
|
|
|
|
@Override
|
|
public void invoke(String... args) throws IOException {
|
|
server.syncProfilesDir();
|
|
LogHelper.subInfo("Profiles successfully resynced");
|
|
}
|
|
}
|