@@ -16,7 +16,7 @@ set -euo pipefail
1616# Requirements
1717# - az CLI
1818# - bash, zip
19- # - Optional for LocalStack mode: azlocal (CLI interceptor), funclocal + Azure Functions Core Tools ('func')
19+ # - Optional for LocalStack mode: azlocal (CLI interceptor), Azure Functions Core Tools ('func')
2020#
2121# Examples
2222# # Real Azure (eastus by default)
@@ -51,7 +51,7 @@ Options:
5151 -l, --location STR Azure region (default: eastus)
5252 -g, --resource-group STR Resource group name (auto-generated if omitted)
5353 --python-version STR Python runtime for Function App(s) (default: 3.11)
54- --use-localstack Use azlocal/funclocal for LocalStack emulator
54+ --use-localstack Use azlocal for LocalStack emulator
5555
5656 # Scenario toggles (all enabled by default)
5757 --no-basic Skip basic single-origin scenario
@@ -221,14 +221,11 @@ create_function_app() {
221221publish_function_code () {
222222 local funcName=" $1 " ; local zipPath=" $2 "
223223 if [[ " $USE_LOCALSTACK " == " true" ]]; then
224- if ! command -v funclocal > /dev/null 2>&1 ; then
225- echo " Error: funclocal is required in --use-localstack mode." >&2 ; exit 1
226- fi
227224 if ! command -v func > /dev/null 2>&1 ; then
228225 echo " Error: Azure Functions Core Tools ('func') not found in PATH." >&2 ; exit 1
229226 fi
230227 pushd " $FUNCTION_SRC " > /dev/null
231- funclocal azure functionapp publish " $funcName " --python --build local # --verbose --debug
228+ func azure functionapp publish " $funcName " --python --build local # --verbose --debug
232229 popd > /dev/null
233230 else
234231 rm -f " $zipPath " ; ( cd " $FUNCTION_SRC " && zip -rq " $zipPath " . )
0 commit comments