From a83553f1386abe60772bca21997be13daf940e14 Mon Sep 17 00:00:00 2001
From: Chrimle <28791817+Chrimle@users.noreply.github.com>
Date: Tue, 28 Oct 2025 00:17:28 +0100
Subject: [PATCH] Add `Command` Annotation-class
---
pom.xml | 3 +--
.../github/chrimle/compactjavacli/Command.java | 16 ++++++++++++++++
2 files changed, 17 insertions(+), 2 deletions(-)
create mode 100644 src/main/java/io/github/chrimle/compactjavacli/Command.java
diff --git a/pom.xml b/pom.xml
index bc38bfa..3b64aeb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,10 +5,9 @@
4.0.0
-
io.github.chrimle
compact-java-cli
- 0.0.0
+ 0.1.0-alpha
jar
diff --git a/src/main/java/io/github/chrimle/compactjavacli/Command.java b/src/main/java/io/github/chrimle/compactjavacli/Command.java
new file mode 100644
index 0000000..daed1c6
--- /dev/null
+++ b/src/main/java/io/github/chrimle/compactjavacli/Command.java
@@ -0,0 +1,16 @@
+package io.github.chrimle.compactjavacli;
+
+import static java.lang.annotation.ElementType.METHOD;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
+
+/**
+ * A method may be annotated with this annotation.
+ * @since 0.1.0
+ * @author Chrimle
+ */
+@Retention(RUNTIME)
+@Target(METHOD)
+public @interface Command {}