Rework to avoid using preferences object to retrieve options
This commit is contained in:
1 parent
7f99c48e2c
commit
c59619da2d
115 files changed
+2294
-765
No files matched your search
@@ -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