Class CliManager

java.lang.Object
com.mwdle.bitwarden.cli.CliManager

public final class CliManager extends Object
A utility for managing this plugin's Bitwarden CLI executable.
  • Method Details

    • getExecutablePath

      @NonNull public static String getExecutablePath() throws InterruptedException, IOException
      Returns:
      the absolute path to the Bitwarden CLI executable
      Throws:
      InterruptedException - if the automatic Bitwarden CLI provisioning is interrupted
      IOException - if the executable is not found and cannot be automatically downloaded
    • updateExecutable

      public static void updateExecutable() throws InterruptedException, IOException
      Downloads and provisions the latest native Bitwarden CLI executable, safely replacing any existing version.
      Throws:
      InterruptedException - if the update is interrupted
      IOException - if the installation fails