Skip to content

CompletionsCommand ​

Category: Commands

Source: completions_command.dart

Enums ​

CompletionShell ​

ValueDescription
bash
zsh
fish
powershell
sh

Classes ​

CompletionsCommand ​

Constructor ​

dart
CompletionsCommand()

Properties ​

PropertyTypeDescription
nameString get
descriptionString get
nameString get
descriptionString get

CompletionsInstallCommand ​

Properties ​

PropertyTypeDescription
nameString get
descriptionString get
nameString get
descriptionString get

Methods ​

Future<int> run() ​

CompletionsUninstallCommand ​

Properties ​

PropertyTypeDescription
nameString get
descriptionString get
nameString get
descriptionString get

Methods ​

Future<int> run() ​

Functions ​

Directory resolveZshCompletionsDir(String home) ​

Resolves the directory to drop the autoloaded _<command> function into.

String zshCompletionScript(String executableName) ​

The #compdef tag on the first line is what registers the function for [executableName]; zsh autoloads the file on first completion.

Released under the MIT License.