public class Commands extends Object
| Constructor and Description |
|---|
Commands() |
| Modifier and Type | Method and Description |
|---|---|
static void |
complete(LineReader reader,
PrintStream out,
PrintStream err,
Map<String,List<Completers.CompletionData>> completions,
String[] argv) |
protected static List<Path> |
findFiles(Path root,
String files) |
static void |
history(LineReader reader,
PrintStream out,
PrintStream err,
Path currentDir,
String[] argv) |
static void |
keymap(LineReader reader,
PrintStream out,
PrintStream err,
String[] argv) |
static void |
less(org.jline.terminal.Terminal terminal,
InputStream in,
PrintStream out,
PrintStream err,
Path currentDir,
String[] argv) |
static void |
less(org.jline.terminal.Terminal terminal,
InputStream in,
PrintStream out,
PrintStream err,
Path currentDir,
String[] argv,
ConfigurationPath configPath) |
static void |
nano(org.jline.terminal.Terminal terminal,
PrintStream out,
PrintStream err,
Path currentDir,
String[] argv) |
static void |
nano(org.jline.terminal.Terminal terminal,
PrintStream out,
PrintStream err,
Path currentDir,
String[] argv,
ConfigurationPath configPath) |
static void |
setopt(LineReader reader,
PrintStream out,
PrintStream err,
String[] argv) |
static void |
setvar(LineReader lineReader,
PrintStream out,
PrintStream err,
String[] argv) |
static void |
tmux(org.jline.terminal.Terminal terminal,
PrintStream out,
PrintStream err,
Supplier<Object> getter,
Consumer<Object> setter,
Consumer<org.jline.terminal.Terminal> runner,
String[] argv) |
static void |
unsetopt(LineReader reader,
PrintStream out,
PrintStream err,
String[] argv) |
static void |
widget(LineReader reader,
PrintStream out,
PrintStream err,
Function<String,Widget> widgetCreator,
String[] argv) |
public static void tmux(org.jline.terminal.Terminal terminal,
PrintStream out,
PrintStream err,
Supplier<Object> getter,
Consumer<Object> setter,
Consumer<org.jline.terminal.Terminal> runner,
String[] argv)
throws Exception
Exceptionpublic static void nano(org.jline.terminal.Terminal terminal,
PrintStream out,
PrintStream err,
Path currentDir,
String[] argv)
throws Exception
Exceptionpublic static void nano(org.jline.terminal.Terminal terminal,
PrintStream out,
PrintStream err,
Path currentDir,
String[] argv,
ConfigurationPath configPath)
throws Exception
Exceptionpublic static void less(org.jline.terminal.Terminal terminal,
InputStream in,
PrintStream out,
PrintStream err,
Path currentDir,
String[] argv)
throws Exception
Exceptionpublic static void less(org.jline.terminal.Terminal terminal,
InputStream in,
PrintStream out,
PrintStream err,
Path currentDir,
String[] argv,
ConfigurationPath configPath)
throws Exception
Exceptionprotected static List<Path> findFiles(Path root, String files) throws IOException
IOExceptionpublic static void history(LineReader reader, PrintStream out, PrintStream err, Path currentDir, String[] argv) throws Exception
Exceptionpublic static void complete(LineReader reader, PrintStream out, PrintStream err, Map<String,List<Completers.CompletionData>> completions, String[] argv) throws Options.HelpException
Options.HelpExceptionpublic static void widget(LineReader reader, PrintStream out, PrintStream err, Function<String,Widget> widgetCreator, String[] argv) throws Exception
Exceptionpublic static void keymap(LineReader reader, PrintStream out, PrintStream err, String[] argv) throws Options.HelpException
Options.HelpExceptionpublic static void setopt(LineReader reader, PrintStream out, PrintStream err, String[] argv) throws Options.HelpException
Options.HelpExceptionpublic static void unsetopt(LineReader reader, PrintStream out, PrintStream err, String[] argv) throws Options.HelpException
Options.HelpExceptionpublic static void setvar(LineReader lineReader, PrintStream out, PrintStream err, String[] argv) throws Options.HelpException
Options.HelpExceptionCopyright © 2020. All rights reserved.