mirror of
https://e.coding.net/circlecloud/YumCore.git
synced 2024-11-22 01:48:50 +00:00
feat: 帮助注解 排序注解 设置必填项
Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
parent
ad4126a810
commit
7a60e673cc
@ -35,7 +35,7 @@ public @interface Help {
|
|||||||
/**
|
/**
|
||||||
* @return 命令描述
|
* @return 命令描述
|
||||||
*/
|
*/
|
||||||
String description() default "无";
|
String description();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return 当前命令可能需要的参数
|
* @return 当前命令可能需要的参数
|
||||||
|
@ -9,5 +9,5 @@ public @interface Sort {
|
|||||||
/**
|
/**
|
||||||
* @return 命令排序
|
* @return 命令排序
|
||||||
*/
|
*/
|
||||||
int sort() default 50;
|
int sort();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user