mirror of
https://github.com/AppleCommander/applesingle.git
synced 2024-06-08 06:29:28 +00:00
14 lines
543 B
Java
14 lines
543 B
Java
package io.github.applecommander.applesingle.tools.asu;
|
|
|
|
import io.github.applecommander.applesingle.AppleSingle;
|
|
import picocli.CommandLine.IVersionProvider;
|
|
|
|
/** Display version information. Note that this is dependent on the Spring Boot Gradle plugin configuration. */
|
|
public class VersionProvider implements IVersionProvider {
|
|
public String[] getVersion() {
|
|
return new String[] {
|
|
String.format("CLI: %s", Main.class.getPackage().getImplementationVersion()),
|
|
String.format("API: %s", AppleSingle.VERSION)
|
|
};
|
|
}
|
|
} |