Check if Azure Functions Core Tools is available before starting the api #38
Labels
priority: high (P0)
High priority
scope: api
Issues related to the user's application API
scope: cli
Issues happened a the ./src/cli level
scope: core
Issues happened a the ./src/core level
type: enhancement
New feature or request
Is your feature request related to a problem? Please describe.
When the swa cli tries to star the api project using the
func
cli (Azure Functions Core Tools). Iffunc
is not available, this would trigger an error, an the api won't be emulated.Describe the solution you'd like
Check if the
func
cli is already installed. If not, show a warning message or abort the whole process.Additional context
This should work across all supported platforms.
cc @anthonychu
The text was updated successfully, but these errors were encountered: