Tab class

Inheritance

Constructors

Tab()

Properties

arguments → Map<String, Argument>
finalinherited
commands → Map<String, Command>
final
completions → List<Completion>
final
description → String
finalinherited
directive ↔ ShellCompDirective
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
options → Map<String, Option>
finalinherited
parent → Command?
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → String
finalinherited

Methods

argument(String name, CompleteHandler? handler, {bool variadic = false}) → Argument
Registers a positional argument and returns the created definition.
inherited
command(String value, String description) → Command
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
option(String value, String description, CompleteHandler? handler, {String? alias}) → Option
Registers an option and returns the created definition.
inherited
parse(Iterable<String> input) → void
setup(String name, String exec, String? shellName) → void
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited