* Hexagonal architecture: a quick and practical example

* BAEL 3486

* BAEL-3460

Airline introduction

* BAEL-3460

* BAEL-3460

Airline introduction
BAEL-3460

* BAEL-3460

* Formatting
This commit is contained in:
mguarnaccia
2020-01-27 16:30:53 +01:00
committed by Sam Millington
parent 33849011c8
commit 0648ba53ab
4 changed files with 124 additions and 0 deletions
@@ -0,0 +1,17 @@
package com.baeldung.airline;
import com.github.rvesse.airline.annotations.Cli;
import com.github.rvesse.airline.help.Help;
@Cli(name = "baeldung-cli",
description = "Baeldung Airline Tutorial",
defaultCommand = Help.class,
commands = { DatabaseSetupCommand.class, LoggingCommand.class, Help.class })
public class CommandLine {
public static void main(String[] args) {
com.github.rvesse.airline.Cli<Runnable> cli = new com.github.rvesse.airline.Cli<>(CommandLine.class);
Runnable cmd = cli.parse(args);
cmd.run();
}
}