DefaultTo

caseapp.core.complete.Completer.DefaultTo
class DefaultTo[-T](default: Completer[T]) extends Completer[T]

Attributes

Graph
Supertypes
trait Completer[T]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def argument(prefix: String, state: Option[T], args: RemainingArgs): List[CompletionItem]

Attributes

Definition Classes
override def optionName(prefix: String, state: Option[T], args: RemainingArgs): List[CompletionItem]

Attributes

Definition Classes
override def optionValue(arg: Arg, prefix: String, state: Option[T], args: RemainingArgs): List[CompletionItem]

Attributes

Definition Classes
override def postDoubleDash(state: Option[T], args: RemainingArgs): Option[Completer[T]]

Attributes

Definition Classes
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Inherited methods

final def contramapOpt[U](f: U => Option[T]): Completer[U]

Attributes

Inherited from:
Completer

Attributes

Inherited from:
Completer
final def withHelp: Completer[WithHelp[T]]

Attributes

Inherited from:
Completer