Package org.jline.builtins
Class Commands
java.lang.Object
org.jline.builtins.Commands
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcolors(org.jline.terminal.Terminal terminal, PrintStream out, String[] argv) static voidcomplete(LineReader reader, PrintStream out, PrintStream err, Map<String, List<Completers.CompletionData>> completions, String[] argv) static voidhighlighter(LineReader lineReader, org.jline.terminal.Terminal terminal, PrintStream out, PrintStream err, String[] argv, ConfigurationPath configPath) static voidhistory(LineReader reader, PrintStream out, PrintStream err, Path currentDir, String[] argv) static voidkeymap(LineReader reader, PrintStream out, PrintStream err, String[] argv) static voidless(org.jline.terminal.Terminal terminal, InputStream in, PrintStream out, PrintStream err, Path currentDir, Object[] argv) static voidless(org.jline.terminal.Terminal terminal, InputStream in, PrintStream out, PrintStream err, Path currentDir, Object[] argv, ConfigurationPath configPath) static voidnano(org.jline.terminal.Terminal terminal, PrintStream out, PrintStream err, Path currentDir, String[] argv) static voidnano(org.jline.terminal.Terminal terminal, PrintStream out, PrintStream err, Path currentDir, String[] argv, ConfigurationPath configPath) static voidsetopt(LineReader reader, PrintStream out, PrintStream err, String[] argv) static voidsetvar(LineReader lineReader, PrintStream out, PrintStream err, String[] argv) static voidtmux(org.jline.terminal.Terminal terminal, PrintStream out, PrintStream err, Supplier<Object> getter, Consumer<Object> setter, Consumer<org.jline.terminal.Terminal> runner, String[] argv) static voidunsetopt(LineReader reader, PrintStream out, PrintStream err, String[] argv) static voidwidget(LineReader reader, PrintStream out, PrintStream err, Function<String, Widget> widgetCreator, String[] argv)
-
Constructor Details
-
Commands
public Commands()
-
-
Method Details
-
tmux
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 - Throws:
Exception
-
nano
public static void nano(org.jline.terminal.Terminal terminal, PrintStream out, PrintStream err, Path currentDir, String[] argv) throws Exception - Throws:
Exception
-
nano
public static void nano(org.jline.terminal.Terminal terminal, PrintStream out, PrintStream err, Path currentDir, String[] argv, ConfigurationPath configPath) throws Exception - Throws:
Exception
-
less
public static void less(org.jline.terminal.Terminal terminal, InputStream in, PrintStream out, PrintStream err, Path currentDir, Object[] argv) throws Exception - Throws:
Exception
-
less
public static void less(org.jline.terminal.Terminal terminal, InputStream in, PrintStream out, PrintStream err, Path currentDir, Object[] argv, ConfigurationPath configPath) throws Exception - Throws:
Exception
-
findFiles
- Throws:
IOException
-
history
public static void history(LineReader reader, PrintStream out, PrintStream err, Path currentDir, String[] argv) throws Exception - Throws:
Exception
-
complete
public static void complete(LineReader reader, PrintStream out, PrintStream err, Map<String, List<Completers.CompletionData>> completions, String[] argv) throws Options.HelpException- Throws:
Options.HelpException
-
widget
public static void widget(LineReader reader, PrintStream out, PrintStream err, Function<String, Widget> widgetCreator, String[] argv) throws Exception- Throws:
Exception
-
keymap
public static void keymap(LineReader reader, PrintStream out, PrintStream err, String[] argv) throws Options.HelpException - Throws:
Options.HelpException
-
setopt
public static void setopt(LineReader reader, PrintStream out, PrintStream err, String[] argv) throws Options.HelpException - Throws:
Options.HelpException
-
unsetopt
public static void unsetopt(LineReader reader, PrintStream out, PrintStream err, String[] argv) throws Options.HelpException - Throws:
Options.HelpException
-
setvar
public static void setvar(LineReader lineReader, PrintStream out, PrintStream err, String[] argv) throws Options.HelpException - Throws:
Options.HelpException
-
colors
public static void colors(org.jline.terminal.Terminal terminal, PrintStream out, String[] argv) throws Options.HelpException, IOException - Throws:
Options.HelpExceptionIOException
-
highlighter
public static void highlighter(LineReader lineReader, org.jline.terminal.Terminal terminal, PrintStream out, PrintStream err, String[] argv, ConfigurationPath configPath) throws Options.HelpException - Throws:
Options.HelpException
-