How azure/azure-functions-core-tools works
Azure Functions Core Tools is a cross-platform CLI for creating, developing, running, testing, and debugging Functions locally, with additional Azure publishing and Kubernetes/container deployment workflows. Users invoke func commands; the CLI dispatches actions that configure projects or start the local host, while separate commands manage Durable Functions and cloud deployment. The graph includes major README capabilities and core modules named by the source index. Some action routing and unsampled deployment internals are only indicated at subsystem level; those links are dashed rather than asserted as inspected calls.
Main entry points: Actions Command actions · TemplatesManager.cs Project templates · Program.cs CLI entry · AzureActions Azure commands
Components 23
CLI and project workflows
- CLI entry
src/Cli/func/Program.cs - Command actions
src/Cli/func/Actions - Project templates
src/Cli/func/Common/TemplatesManager.cs - Template model
src/Cli/func/Common/Template.cs - Project files
src/Cli/func/Common/FileSystemHelpers.cs - Runtime settings
src/Cli/func/Helpers/GlobalCoreToolsSettings.cs - Worker selection
src/Cli/func/Helpers/WorkerRuntimeLanguageHelper.cs - Extension bundles
src/Cli/func/ExtensionBundle/ExtensionBundleHelper.cs
Local Functions runtime
- Local host
src/Cli/func/Actions/HostActions/StartHostAction.cs - Local server
src/Cli/func/FunctionsLocalServer.cs
Cloud and deployment
- Azure commands
src/Cli/func/Actions/AzureActions - Azure resources
src/Cli/func/Helpers/AzureHelper.cs - Connection strings
src/Cli/func/Common/ConnectionString.cs - Durable management
src/Cli/func/Common/DurableManager.cs - Deployment commands
src/Cli/func/Actions/DeployActions - Kubernetes deployment
src/Cli/func/Actions/KubernetesActions - Container Apps
src/Cli/func/Actions/ContainerService
Telemetry delivery
- Telemetry client
src/Cli/func/Telemetry/Telemetry.cs - Persistent channel
src/Cli/func/Telemetry/PersistenceChannel/PersistenceChannel.cs - Telemetry storage
src/Cli/func/Telemetry/PersistenceChannel/StorageService.cs - Transmission format
src/Cli/func/Telemetry/PersistenceChannel/StorageTransmission.cs
Other components
- Developer
- Application Insights
Connections 21
- Developer → CLI entry: runs commands
- CLI entry → Command actions: dispatches actions
- CLI entry → Project templates: registers service
src/Cli/func/Program.cs - Developer → Local host: runs locally
- Project templates → Template model: uses model
src/Cli/func/Common/TemplatesManager.cs - Project templates → Extension bundles: loads bundles
src/Cli/func/Common/TemplatesManager.cs - Project templates → Project files: uses file helpers
src/Cli/func/Common/TemplatesManager.cs - Runtime settings → Worker selection: selects worker
src/Cli/func/Helpers/GlobalCoreToolsSettings.cs - Command actions → Local host: starts host
- Local host → Local server: starts server
- Command actions → Azure commands: manages Azure
src/Cli/func/Actions/AzureActions/AddStorageAccountSettingAction.cs - Azure commands → Azure resources: queries resources
src/Cli/func/Actions/AzureActions/AddStorageAccountSettingAction.cs - Azure commands → Connection strings: stores connection
src/Cli/func/Actions/AzureActions/AddStorageAccountSettingAction.cs - Command actions → Durable management: manages instances
- Developer → Deployment commands: publishes functions
- Developer → Kubernetes deployment: deploys to Kubernetes
- Developer → Container Apps: deploys containers
- Telemetry client → Persistent channel: configures channel
src/Cli/func/Telemetry/Telemetry.cs - Persistent channel → Telemetry storage: queues transmissions
src/Cli/func/Telemetry/PersistenceChannel/PersistenceChannel.cs - Telemetry storage → Transmission format: serializes files
src/Cli/func/Telemetry/PersistenceChannel/StorageService.cs - Persistent channel → Application Insights: sends HTTPS telemetry
src/Cli/func/Telemetry/PersistenceChannel/PersistenceChannel.cs