StandaloneBashCompletion
object StandaloneBashCompletion
Standalone bash completion. Completion logic is generated in advance; requires bash-completion package installed.
class Object
trait Matchable
class Any
Type members
Classlikes
Value members
Concrete methods
def all(out: PrintStream, fullCommand: String, paramInfos: Seq[ParamInfo], commandInfos: Seq[CommandInfo]): Unit
Generate completion code for a whole command line application, recursively invoking nested commands.
Generate completion code for a whole command line application, recursively invoking nested commands.
def command(out: PrintStream, prog: String, subcommandChain: Seq[String], paramInfos: Seq[ParamInfo]): Unit
Generate completion funtion for a command.
Generate completion funtion for a command.
def completeAndThrow(out: PrintStream, paramInfos: Seq[ParamInfo], commandInfos: Seq[CommandInfo], args: Iterable[String]): Unit
def parameters(out: PrintStream, prog: String, subcommandChain: Seq[String], paramInfos: Seq[ParamInfo]): Unit
Generate completion funtion for parameters. All parameters of a command must be given at once, since the order of positionals affects the name.
Generate completion funtion for parameters. All parameters of a command must be given at once, since the order of positionals affects the name.