mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-18 08:49:50 +00:00
Update cheatsheets
This commit is contained in:
34
func
Normal file
34
func
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# func
|
||||
|
||||
> Azure Functions Core Tools: develop and test Azure Functions locally.
|
||||
> Local functions can connect to live Azure services, and can deploy a function app to an Azure subscription.
|
||||
> More information: <https://learn.microsoft.com/azure/azure-functions/functions-run-local>.
|
||||
|
||||
- Create a new functions project:
|
||||
|
||||
`func init {{project}}`
|
||||
|
||||
- Create a new function:
|
||||
|
||||
`func new`
|
||||
|
||||
- Run functions locally:
|
||||
|
||||
`func start`
|
||||
|
||||
- Publish your code to a function app in Azure:
|
||||
|
||||
`func azure functionapp publish {{function}}`
|
||||
|
||||
- Download all settings from an existing function app:
|
||||
|
||||
`func azure functionapp fetch-app-settings {{function}}`
|
||||
|
||||
- Get the connection string for a specific storage account:
|
||||
|
||||
`func azure storage fetch-connection-string {{storage_account}}`
|
||||
Reference in New Issue
Block a user