CompletionInstallCommand<T> constructor

CompletionInstallCommand<T>({
  1. CompletionInstaller? installer,
})

Implementation

CompletionInstallCommand({final CompletionInstaller? installer})
  : _installer = installer,
    super(
      options: CompletionInstallOption.values,
      usageDefinition: const CommandUsageDefinition(
        description:
            'Install the shell completion script for the current user.\n\n'
            'Prints the changes it makes: the script is saved where the '
            'shell (or bash-completion, or Carapace) looks for it, and '
            'for Bash, Zsh and PowerShell a line that loads it is added '
            'to the startup file of the shell. Installing again updates '
            'the script.',
      ),
    );