CompletionCommand<T> constructor

CompletionCommand<T>({
  1. bool hidden = false,
  2. CompletionInstaller? installer,
})

installer performs the installations of the install subcommand. By default the script is installed for the current user and platform.

Implementation

CompletionCommand({
  final bool hidden = false,
  final CompletionInstaller? installer,
}) : _hidden = hidden,
     super(
       persistentOptions: CompletionOption.values,
       subcommands: [CompletionInstallCommand<T>(installer: installer)],
       canRunAsLeafCommand: true,
     );