During Public Preview you can use the Team plan for free, and get an early-adopter discount at GA. Sign in
locally function
This page is part of the CLI Reference and is generated from the CLI's own help output, so it matches what locally function --help prints.
For more information see Function App Emulator.
locally function
Interact with Function Apps within Locally.
Usage
locally function [flags] locally function [command]
Flags
-h, --help[=true|false] help for function
Subcommands
- locally function dashboard - Open a Function App's dashboard in your browser.
- locally function deploy - Deploy a package to a Function App.
- locally function invoke - Invoke a function endpoint.
locally function dashboard
Open a Function App's dashboard in your browser.
Usage
locally function dashboard [flags]
Flags
-h, --help[=true|false] help for dashboard
--name string Name of the function app
locally function deploy
Deploy a package to a Function App.
Deploys a zip package to a function app and waits for the deployment to finish. Examples: locally function deploy --name example app.zip
Usage
locally function deploy [zip file] [flags]
Flags
--env stringArray Environment variables (KEY=VALUE), can be specified multiple times
-h, --help[=true|false] help for deploy
--name string Name of the function app
locally function invoke
Invoke a function endpoint.
Invokes an HTTP-triggered function and prints the response. Examples: locally function invoke --name example --endpoint /api/hello
Usage
locally function invoke [flags]
Flags
--endpoint string API endpoint to invoke (e.g. /api/hello)
-h, --help[=true|false] help for invoke
--name string Name of the function app
During Public Preview you can use the Team plan for free, and get an early-adopter discount at GA. Sign in