public static class Options.HelpException extends Exception
--help option on a built-in command.
It can be highlighted using the highlight(String, StyleResolver) method and then printed
to the Terminal.| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_COLORS |
| Constructor and Description |
|---|
HelpException(String message) |
| Modifier and Type | Method and Description |
|---|---|
static org.jline.utils.StyleResolver |
defaultStyle() |
static org.jline.utils.AttributedString |
highlight(String msg,
org.jline.utils.StyleResolver resolver) |
static org.jline.utils.AttributedString |
highlightComment(String comment,
org.jline.utils.StyleResolver resolver) |
static org.jline.utils.AttributedString |
highlightSyntax(String syntax,
org.jline.utils.StyleResolver resolver) |
static org.jline.utils.AttributedString |
highlightSyntax(String syntax,
org.jline.utils.StyleResolver resolver,
boolean subcommands) |
static org.jline.utils.StyleResolver |
style(String str) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final String DEFAULT_COLORS
public HelpException(String message)
public static org.jline.utils.StyleResolver defaultStyle()
public static org.jline.utils.StyleResolver style(String str)
public static org.jline.utils.AttributedString highlight(String msg, org.jline.utils.StyleResolver resolver)
public static org.jline.utils.AttributedString highlightSyntax(String syntax, org.jline.utils.StyleResolver resolver, boolean subcommands)
public static org.jline.utils.AttributedString highlightSyntax(String syntax, org.jline.utils.StyleResolver resolver)
public static org.jline.utils.AttributedString highlightComment(String comment, org.jline.utils.StyleResolver resolver)
Copyright © 2020. All rights reserved.