Class
CopilotCliInstall
Utilities for installing the Copilot CLI.
Inheritance
- Object
- CopilotCliInstall
Methods
public static CopilotCliInstallCommand GetCommand(CopilotCliInstallMethod method, Boolean prerelease = false) #Returns:
CopilotCliInstallCommandReturns a specific install command.
Parameters
- method IntelligenceX.Copilot.CopilotCliInstallMethod
- Install method.
- prerelease System.Boolean = false
- Whether to use prerelease versions.
public static CopilotCliInstallCommand GetDefaultCommand(Boolean prerelease = false) #Returns:
CopilotCliInstallCommandReturns the default install command for the current OS.
Parameters
- prerelease System.Boolean = false
- Whether to use prerelease versions.
public static IReadOnlyList<CopilotCliInstallCommand> GetInstallCommands(Boolean prerelease = false) #Returns:
IReadOnlyList<CopilotCliInstallCommand>Returns install commands suitable for the current OS.
Parameters
- prerelease System.Boolean = false
- Whether to use prerelease versions.
public static String GetInstallInstructions(Boolean prerelease = false) #Returns:
StringReturns human-readable install instructions.
Parameters
- prerelease System.Boolean = false
- Whether to use prerelease versions.
public static async Task<Int32> InstallAsync(CopilotCliInstallCommand command, CancellationToken cancellationToken = null) #Returns:
Task<Int32>Executes the provided install command.
Parameters
- command IntelligenceX.Copilot.CopilotCliInstallCommand
- Install command.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object