Add jbang: single-file Java with JBang 0.132.1 on JDK 25 (deps, compact source files, Spring Boot, templates, native)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b6ZEVHGaYy15HAxRzy
This commit is contained in:
Ankur Mhatre
2026-12-01 08:20:46 +05:30
co-authored by Claude Sonnet 5.5
parent 7c677a39d2
commit ddc3ec9d90
34 changed files with 639 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
//JAVA 25+
//DEPS info.picocli:picocli:4.7.7
import picocli.CommandLine;
import picocli.CommandLine.Command;
import picocli.CommandLine.Parameters;
import java.util.concurrent.Callable;
@Command(name = "{baseName}", mixinStandardHelpOptions = true, version = "{baseName} 0.1")
public class {baseName} implements Callable<Integer> {
@Parameters(index = "0", description = "Input to process.")
String input;
@Override
public Integer call() {
System.out.println("{baseName} processed: " + input);
return 0;
}
public static void main(String[] args) {
System.exit(new CommandLine(new {baseName}()).execute(args));
}
}