From 81e16fafbc92411b385a66156acd05f461955c56 Mon Sep 17 00:00:00 2001 From: Dustin Ingram Date: Fri, 9 Oct 2020 01:14:37 -0500 Subject: [PATCH 1/2] Add language-specific alias --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 81cc49b5..26d41c97 100644 --- a/setup.py +++ b/setup.py @@ -56,9 +56,11 @@ ], entry_points={ "console_scripts": [ + "ff=functions_framework._cli:_cli", "functions-framework=functions_framework._cli:_cli", "functions_framework=functions_framework._cli:_cli", - "ff=functions_framework._cli:_cli", + "functions-framework-python=functions_framework._cli:_cli", + "functions_framework_python=functions_framework._cli:_cli", ] }, ) From 19303a79e42f35aed19cb9780c764c90f320af5d Mon Sep 17 00:00:00 2001 From: Dustin Ingram Date: Tue, 20 Oct 2020 18:05:49 -0500 Subject: [PATCH 2/2] Add note to README --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 89f3474d..1084bf9f 100644 --- a/README.md +++ b/README.md @@ -95,6 +95,9 @@ functions-framework --target hello --debug * Running on http://0.0.0.0:8080/ (Press CTRL+C to quit) ``` +(You can also use `functions-framework-python` if you potentially have multiple +language frameworks installed). + Send requests to this function using `curl` from another terminal window: ```sh