Skip to content

Commit 2b07aa9

Browse files
authored
Add language-specific alias (#93)
* Add language-specific alias * Add note to README
1 parent d3a200f commit 2b07aa9

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ functions-framework --target hello --debug
9595
* Running on http://0.0.0.0:8080/ (Press CTRL+C to quit)
9696
```
9797

98+
(You can also use `functions-framework-python` if you potentially have multiple
99+
language frameworks installed).
100+
98101
Send requests to this function using `curl` from another terminal window:
99102

100103
```sh

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,11 @@
5656
],
5757
entry_points={
5858
"console_scripts": [
59+
"ff=functions_framework._cli:_cli",
5960
"functions-framework=functions_framework._cli:_cli",
6061
"functions_framework=functions_framework._cli:_cli",
61-
"ff=functions_framework._cli:_cli",
62+
"functions-framework-python=functions_framework._cli:_cli",
63+
"functions_framework_python=functions_framework._cli:_cli",
6264
]
6365
},
6466
)

0 commit comments

Comments
 (0)