GoogleCloudPlatform / functions-framework

The Contract for Building New Function Frameworks
Apache License 2.0
123 stars 11 forks source link

The README doc on the flag "--target" is confusing: does not exist in gcloud functions deploy. #17

Closed ludoch closed 4 years ago

ludoch commented 4 years ago

The readme lists some flags. Not sure for which tool?

For example, the flag "--target" does not exist in gcloud functions deploy... What is the mapping? Should be stay consistent?

grant commented 4 years ago

gcloud, Google Cloud Functions, and the Functions Frameworks are separate.

For --target, that feature isn't added to Cloud Functions, although you could create your own container and deploy to Cloud Run.

These technologies will evolve separately and will have additional features. If you have a recommendation for a specific change, let me know!

grant commented 4 years ago

Hope the above answers the question. Please re-open if there are further questions about this topic.