tryInstallCompletionFiles method

  1. @internal
void tryInstallCompletionFiles(
  1. Level level
)
inherited

Tries to install completion files for the current shell.

Implementation

@internal
void tryInstallCompletionFiles(Level level) {
  try {
    completionInstallationLogger.level = level;
    completionInstallation.install(executableName);
  } on CompletionInstallationException catch (e) {
    completionInstallationLogger.warn(e.toString());
  } on Exception catch (e) {
    completionInstallationLogger.err(e.toString());
  }
}