Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
azure-functions-core-tools
Advanced tools
Branch | Status |
---|---|
master |
The Azure Functions Core Tools provide a local development experience for creating, developing, testing, running, and debugging Azure Functions.
NOTE: This package only currently works on Windows, since the underlying Functions Host is not yet cross-platform. You can upvote this GitHub issue if you're interested in running on other platforms: make the Azure Functions Core Tools cross platform.
To install globally:
npm i -g azure-functions-core-tools
The package sets up the following global aliases:
func
azfun
azure-functions
Commands have the following basic structure:
func [context] [context] <action> [-/--options]
Output can be found at %temp%\LogFiles.
azure For Azure login and working with Function Apps on Azure
function For local function settings and actions
functionapp For local function app settings and actions
host For local Functions host settings and actions
settings For local settings for your Functions host
func init Create a new Function App in the current folder. Initializes git repo.
func run Run a function directly
Actions in the "azure" context require logging in to Azure.
func azure
Usage: func azure [context] <action> [-/--options]
Contexts:
account For Azure account and subscriptions settings and actions
functionapp For Azure Function App settings and actions
storage For Azure Storage settings and actions
subscriptions For Azure account and subscriptions settings and actions
Actions:
get-publish-username Get the source control publishing username for a Function App in Azure
set-publish-password Set the source control publishing password for a Function App in Azure
login Log in to an Azure account. Can also do "func azure login"
logout Log out of Azure account. Can also do "func azure logout"
portal Launch default browser with link to the current app in https://portal.azure.com
func azure account
Usage: func azure account <action> [-/--options]
Actions:
set <subscriptionId> Set the active subscription
list List subscriptions for the logged in user
func azure functionapp
Usage: func azure functionapp <action> [-/--options]
Actions:
enable-git-repo Enable git repository on your Azure-hosted Function App
fetch-app-settings Retrieve App Settings from your Azure-hosted Function App and store locally. Alias: fetch
list List all Function Apps in the selected Azure subscription
The func azure storage list
command will show storage accounts in the selected subscription. You can then set up a connection string locally with this storage account name using func settings add-storage-account
.
func azure storage
Usage: func Azure Storage <action> [-/--options]
Actions:
list List all Storage Accounts in the selected Azure subscription
Actions that are not in the "azure" context operate on the local environment. For instance, func settings list
will show the app settings for the current function app.
func settings
Usage: func settings [context] <action> [-/--options]
Actions:
add Add new local app setting to appsettings.json
add-storage-account Add a local app setting using the value from an Azure Storage account. Requires Azure login.
decrypt Decrypt the local settings file
delete Remove a local setting
encrypt Encrypt the local settings file
list List local settings
func function
Usage: func function [context] <action> [-/--options]
Actions:
create Create a new Function from a template, using the Yeoman generator
run Run a function directly
For consistency, the func init
command can also be invoked via func functionapp init
.
func functionapp init
CurrentDirectory
: is the default directory the functions runtime looks for functions in.%TMP%\LogFiles\Application\Functions
: is the default directory for logs. It mirrors the logs directory on Azure as well.This project is under the benevolent umbrella of the .NET Foundation and is licensed under the MIT License
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
For questions on Azure Functions or the tools, you can ask questions here:
File bugs at Azure Functions Core Tools repo on GitHub.
FAQs
Azure Functions Core Tools
The npm package azure-functions-core-tools receives a total of 41,498 weekly downloads. As such, azure-functions-core-tools popularity was classified as popular.
We found that azure-functions-core-tools demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.