Skip to content

[Programming Model] Entry Point #1

@asavaritayal

Description

@asavaritayal

Script File

PowerShell support for Functions will support a run file of .ps1 format. We'll use the workflow below to determine which file to run:

If the "scriptFile" attribute is set in function.json
Else if the project contains a single .ps1 file
Else if run.ps1 is present
Else throw an error

Entry Point

Instead of running a plain script, we'll define a method for the runtime to invoke during an execution. We'll use the workflow below to determine which function to run:

If the "entryPoint" attribute is set in function.json
Else if Run() is present
Else throw an error

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions