Rework to avoid using preferences object to retrieve options
This commit is contained in:
@@ -23,7 +23,7 @@ public final class Cli implements Runnable {
|
||||
private String subtitleConverter;
|
||||
@CommandLine.Option(names = {"-c", "--video-converter"}, description = "The video converter to use [ffmpeg]", defaultValue = "ffmpeg")
|
||||
private String videoConverter;
|
||||
@CommandLine.Option(names = {"--translations"}, description = "The list of translations to create. Ignored if burn is specified", split = ",", arity = "0..*")
|
||||
@CommandLine.Option(names = "--translations", description = "The list of translations to create. Ignored if burn is specified", split = ",", arity = "0..*")
|
||||
private Set<String> translations;
|
||||
@CommandLine.Option(names = {"-t", "--translator"}, description = "The translator to use [deepl]. Ignored if burn is specified", defaultValue = "deepl")
|
||||
private String translator;
|
||||
|
||||
Reference in New Issue
Block a user