← ZIO Cli docs

Completion

zio.cli.completion.Completion
object Completion

Attributes

Source
Completion.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Completion.type

Members list

Value members

Concrete methods

def complete(words: List[String], index: Int, command: Command[Any], cliConfig: CliConfig, compgen: Compgen = ...): UIO[List[String]]

Attributes

Source
Completion.scala
def toRegularLanguage(command: Command[Any], allowAlias: Boolean): RegularLanguage

Returns a RegularLanguage whose accepted language is equivalent to the language accepted by the provided Command.

Returns a RegularLanguage whose accepted language is equivalent to the language accepted by the provided Command.

Attributes

Source
Completion.scala

Returns a RegularLanguage whose accepted language is equivalent to the language accepted by the provided Options.

Returns a RegularLanguage whose accepted language is equivalent to the language accepted by the provided Options.

Attributes

Source
Completion.scala

Returns a RegularLanguage whose accepted language is equivalent to the language accepted by the provided Args.

Returns a RegularLanguage whose accepted language is equivalent to the language accepted by the provided Args.

Attributes

Source
Completion.scala