mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Rename Cli class to App
This commit is contained in:
parent
a2debdb234
commit
dd4225dcb1
2 changed files with 5 additions and 5 deletions
|
@ -37,9 +37,9 @@ import java.util.Map;
|
|||
import java.util.Objects;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
public class Cli {
|
||||
public class App {
|
||||
|
||||
private final static Logger logger = LoggerFactory.getLogger(Cli.class);
|
||||
private final static Logger logger = LoggerFactory.getLogger(App.class);
|
||||
|
||||
private final Namespace ns;
|
||||
|
||||
|
@ -79,7 +79,7 @@ public class Cli {
|
|||
return parser;
|
||||
}
|
||||
|
||||
public Cli(final Namespace ns) {
|
||||
public App(final Namespace ns) {
|
||||
this.ns = ns;
|
||||
}
|
||||
|
|
@ -36,11 +36,11 @@ public class Main {
|
|||
// Configuring the logger needs to happen before any logger is initialized
|
||||
configureLogging(isVerbose(args));
|
||||
|
||||
ArgumentParser parser = Cli.buildArgumentParser();
|
||||
ArgumentParser parser = App.buildArgumentParser();
|
||||
|
||||
Namespace ns = parser.parseArgsOrFail(args);
|
||||
|
||||
int res = new Cli(ns).init();
|
||||
int res = new App(ns).init();
|
||||
System.exit(res);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue