Renderer

replpp.shaded.mainargs.Renderer$
object Renderer

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Renderer.type

Members list

Type members

Classlikes

object ArgOrd extends Ordering[ArgSig]

Attributes

Supertypes
trait Ordering[ArgSig]
trait PartialOrdering[ArgSig]
trait Equiv[ArgSig]
trait Serializable
trait Comparator[ArgSig]
class Object
trait Matchable
class Any
Show all
Self type
ArgOrd.type

Value members

Concrete methods

def formatMainMethodSignature(main: MainData[_, _], leftIndent: Int, totalWidth: Int, leftColWidth: Int, docsOnNewLine: Boolean, customName: Option[String], customDoc: Option[String], sorted: Boolean): String
def formatMainMethods(mainMethods: Seq[MainData[_, _]], totalWidth: Int, docsOnNewLine: Boolean, customNames: Map[String, String], customDocs: Map[String, String], sorted: Boolean): String
def getLeftColWidth(items: Seq[ArgSig]): Int
def normalizeNewlines(s: String): String
def pluralize(s: String, n: Int): String
def renderArg(arg: ArgSig, leftOffset: Int, wrappedWidth: Int): (String, String)
def renderArgShort(arg: ArgSig): String
def renderEarlyError(result: Early): String
def renderResult(main: MainData[_, _], result: Failure, totalWidth: Int, printHelpOnError: Boolean, docsOnNewLine: Boolean, customName: Option[String], customDoc: Option[String], sorted: Boolean): String
def softWrap(s: String, leftOffset: Int, maxWidth: Int): String

Deprecated methods

def formatMainMethodSignature(main: MainData[_, _], leftIndent: Int, totalWidth: Int, leftColWidth: Int, docsOnNewLine: Boolean, customName: Option[String], customDoc: Option[String]): String

Attributes

Deprecated
true
def formatMainMethods(mainMethods: Seq[MainData[_, _]], totalWidth: Int, docsOnNewLine: Boolean, customNames: Map[String, String], customDocs: Map[String, String]): String

Attributes

Deprecated
true
def renderResult(main: MainData[_, _], result: Failure, totalWidth: Int, printHelpOnError: Boolean, docsOnNewLine: Boolean, customName: Option[String], customDoc: Option[String]): String

Attributes

Deprecated
true

Concrete fields

val newLine: String