LinuxCommandLibrary

func

TLDR

Create new function

$ func new
copy
Start local server
$ func start
copy
Deploy to Azure
$ func azure functionapp publish [appname]
copy
Create function from template
$ func new --template "[HTTP trigger]" --name [MyFunction]
copy
List templates
$ func templates list
copy

SYNOPSIS

func command [options]

DESCRIPTION

func is the Azure Functions Core Tools CLI for developing serverless functions locally. It creates, runs, and deploys Azure Functions across multiple languages.
The tool provides local development with debugging support, mimicking the Azure environment. It handles project scaffolding, dependency management, and deployment workflows.
func supports JavaScript, Python, C#, Java, and other languages for Azure Functions development.

PARAMETERS

COMMAND

Operation: new, start, deploy, init, etc.
new
Create new function.
start
Start local Functions host.
init
Initialize function project.
azure functionapp publish NAME
Deploy to Azure.
templates list
Show available templates.
--help
Display help information.

CAVEATS

Requires Azure account for deployment. Local emulator has limitations. Language support varies by version.

HISTORY

func is part of Azure Functions Core Tools from Microsoft, enabling local development of serverless functions for the Azure platform.

SEE ALSO

az(1), dotnet(1)

Copied to clipboard