Interface IToolAvailabilityChecker
Interface for checking if a tool is available and providing installation help. Implementations check for specific tools (Azure CLI, wrangler, func, etc.).
public interface IToolAvailabilityChecker
Methods
CanCheck(string)
Determines if this checker applies to the given step name. Typically matches on step name prefix (e.g., "Azure." or "Bicep.").
bool CanCheck(string stepName)
Parameters
stepNamestringThe name of the step that failed.
Returns
- bool
True if this checker should be consulted for this step.
GetDocumentationUrl()
Gets a URL for more detailed installation documentation.
string GetDocumentationUrl()
Returns
GetInstallInstructions()
Gets platform-specific installation instructions for the tool.
string GetInstallInstructions()
Returns
- string
Human-readable installation instructions.
IsAvailable()
Checks if the required tool is available in the current environment.
bool IsAvailable()
Returns
- bool
True if the tool is available, false otherwise.