com.redislabs.picocliredis.BaseOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of picocli-redis Show documentation
Show all versions of picocli-redis Show documentation
Picocli configuration for Redis
package com.redislabs.picocliredis;
import lombok.Data;
import picocli.CommandLine.Option;
public @Data class BaseOptions {
@Option(names = { "-v", "--verbose" }, description = "Enable verbose logging", order = 2)
private boolean verbose;
@Option(names = { "-d", "--debug" }, description = "Enable debug logging", order = 3)
private boolean debug;
@Option(names = { "-q", "--quiet" }, description = "Disable all logging", order = 1)
private boolean quiet;
@Option(names = "--dns-ttl", description = "DNS cache TTL", paramLabel = "", order = 4)
private int dnsTtl;
@Option(names = "--dns-neg-ttl", description = "DNS cache negative TTL", paramLabel = "", order = 4)
private int dnsNegativeTtl;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy