Package com.redis.riot.core
Class MainCommand
java.lang.Object
com.redis.riot.core.BaseCommand
com.redis.riot.core.MainCommand
-
Field Summary
Fields inherited from class com.redis.riot.core.BaseCommand
commandSpec
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall()
protected picocli.CommandLine
protected int
executionStrategy
(picocli.CommandLine.ParseResult parseResult) getErr()
getOut()
static org.springframework.util.unit.DataSize
parseDataSize
(String string) protected void
registerConverters
(picocli.CommandLine commandLine) int
void
setErr
(PrintWriter err) void
setOut
(PrintWriter out)
-
Constructor Details
-
MainCommand
public MainCommand()
-
-
Method Details
-
call
-
commandLine
protected picocli.CommandLine commandLine() -
run
-
executionStrategy
protected int executionStrategy(picocli.CommandLine.ParseResult parseResult) -
registerConverters
protected void registerConverters(picocli.CommandLine commandLine) -
parseDataSize
-
getOut
-
setOut
-
getErr
-
setErr
-