CompletionDirective class abstract final

Flags that instruct the shell how to treat the completion response.

Compatible with Cobra's ShellCompDirective values.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

defaultDirective → const int
Plain candidates with file completion fallback.
error → const int
An error occurred, the shell should offer nothing.
filterDirectories → const int
Perform directory completion only.
filterFileExtensions → const int
Perform file completion restricted to the file extensions listed as candidate lines (without a leading dot).
keepOrder → const int
Present the candidates in the given order instead of sorting them.
noFileCompletion → const int
Do not fall back to file completion when there are no candidates.
noSpace → const int
Do not append a space after a single inserted candidate.