We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8436fcd + 64ec007 commit c1a6d5bCopy full SHA for c1a6d5b
src/main/java/org/polyfrost/example/client/ExampleCommand.java
@@ -2,6 +2,7 @@
2
3
import org.polyfrost.example.ExampleConstants;
4
import org.polyfrost.oneconfig.api.commands.v1.factories.annotated.Command;
5
+import org.polyfrost.oneconfig.api.commands.v1.factories.annotated.Handler;
6
import org.polyfrost.oneconfig.utils.v1.dsl.ScreensKt;
7
8
/**
@@ -14,7 +15,7 @@
14
15
@Command(ExampleConstants.ID)
16
public class ExampleCommand {
17
- @Command
18
+ @Handler
19
private void main() {
20
ScreensKt.openUI(ExampleConfig.INSTANCE);
21
}
0 commit comments