mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-19 10:43:14 +00:00
60 lines
1.0 KiB
Java
60 lines
1.0 KiB
Java
package com.volmit.iris.command;
|
|
|
|
import com.volmit.iris.Iris;
|
|
import com.volmit.iris.util.Command;
|
|
import com.volmit.iris.util.MortarCommand;
|
|
import com.volmit.iris.util.MortarSender;
|
|
|
|
public class CommandIris extends MortarCommand
|
|
{
|
|
@Command
|
|
private CommandIrisCreate create;
|
|
|
|
@Command
|
|
private CommandIrisStudio studio;
|
|
|
|
@Command
|
|
private CommandIrisStructure structure;
|
|
|
|
@Command
|
|
private CommandIrisObject object;
|
|
|
|
@Command
|
|
private CommandIrisDownload download;
|
|
|
|
@Command
|
|
private CommandIrisWhat what;
|
|
|
|
@Command
|
|
private CommandIrisMetrics metrics;
|
|
|
|
@Command
|
|
private CommandIrisCTC ctc;
|
|
|
|
@Command
|
|
private CommandIrisLMM lmm;
|
|
|
|
@Command
|
|
private CommandIrisPregen pregen;
|
|
|
|
public CommandIris()
|
|
{
|
|
super("iris", "ir", "irs");
|
|
requiresPermission(Iris.perm);
|
|
}
|
|
|
|
@Override
|
|
public boolean handle(MortarSender sender, String[] args)
|
|
{
|
|
sender.sendMessage("Iris v" + Iris.instance.getDescription().getVersion() + " by Volmit Software");
|
|
printHelp(sender);
|
|
return true;
|
|
}
|
|
|
|
@Override
|
|
protected String getArgsUsage()
|
|
{
|
|
return "";
|
|
}
|
|
}
|