feat: 打包逻辑调整.
This commit is contained in:
12
pom.xml
12
pom.xml
@@ -108,6 +108,18 @@
|
||||
<include name="logback.xml"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
|
||||
<copy todir="${project.build.directory}/output" flatten="true">
|
||||
<fileset dir="">
|
||||
<include name="README.md"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
|
||||
<copy todir="${project.build.directory}/output" flatten="true">
|
||||
<fileset dir="">
|
||||
<include name="LICENSE"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
@@ -2,6 +2,8 @@ package com.serliunx.daily;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
* 启动类
|
||||
*
|
||||
@@ -12,6 +14,6 @@ import lombok.extern.slf4j.Slf4j;
|
||||
public class DailyGenerator {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
System.out.println(Arrays.toString(args));
|
||||
}
|
||||
}
|
||||
|
||||
16
src/main/java/com/serliunx/daily/command/Command.java
Normal file
16
src/main/java/com/serliunx/daily/command/Command.java
Normal file
@@ -0,0 +1,16 @@
|
||||
package com.serliunx.daily.command;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:root@serliunx.com">SerLiunx</a>
|
||||
* @since 2025/9/16
|
||||
*/
|
||||
public interface Command {
|
||||
|
||||
String getName();
|
||||
|
||||
boolean execute(String[] args);
|
||||
|
||||
List<String> availableArgs();
|
||||
}
|
||||
Reference in New Issue
Block a user