mirror of
https://github.com/AppleCommander/bastools.git
synced 2024-06-09 04:29:28 +00:00
Updating version of Picocli.
This commit is contained in:
parent
848468ed21
commit
ca87be4733
|
@ -20,7 +20,7 @@ bootJar {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'info.picocli:picocli:3.0.2'
|
implementation 'info.picocli:picocli:4.7.5'
|
||||||
implementation 'net.sf.applecommander:applesingle-api:1.2.2'
|
implementation 'net.sf.applecommander:applesingle-api:1.2.2'
|
||||||
implementation project(':bastools-api')
|
implementation project(':bastools-api')
|
||||||
}
|
}
|
||||||
|
|
|
@ -103,7 +103,8 @@ public class Main implements Callable<Void> {
|
||||||
|
|
||||||
public static void main(String[] args) throws FileNotFoundException, IOException {
|
public static void main(String[] args) throws FileNotFoundException, IOException {
|
||||||
try {
|
try {
|
||||||
CommandLine.call(new Main(), args);
|
int exitCode = new CommandLine(new Main()).execute(args);
|
||||||
|
System.exit(exitCode);
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
if (Main.debugFlag) {
|
if (Main.debugFlag) {
|
||||||
t.printStackTrace(System.err);
|
t.printStackTrace(System.err);
|
||||||
|
|
|
@ -20,7 +20,7 @@ bootJar {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'info.picocli:picocli:3.0.2'
|
implementation 'info.picocli:picocli:4.7.5'
|
||||||
implementation 'net.sf.applecommander:applesingle-api:1.2.2'
|
implementation 'net.sf.applecommander:applesingle-api:1.2.2'
|
||||||
implementation 'net.sf.applecommander:AppleCommander:1.8.0'
|
implementation 'net.sf.applecommander:AppleCommander:1.8.0'
|
||||||
implementation project(':bastools-api')
|
implementation project(':bastools-api')
|
||||||
|
|
|
@ -26,7 +26,8 @@ public class Main implements Runnable {
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
try {
|
try {
|
||||||
CommandLine.run(new Main(), args);
|
int exitCode = new CommandLine(new Main()).execute(args);
|
||||||
|
System.exit(exitCode);
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
if (Main.debugFlag) {
|
if (Main.debugFlag) {
|
||||||
t.printStackTrace(System.err);
|
t.printStackTrace(System.err);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user