Short for list handlers, landler
is a CLI tool that scans the current working directory for
go http handlers and prints the name
of all matching functions.
The idea was to enable listing of all gcloud
functions in a package to script the gcloud deployment of gcloud functions.
go install github.com/alexandre-normand/landler
$ landler
MyHttpHandler
OtherHttpHandler
Deploy all http handlers as public gcloud functions
$ landler | xargs -t -I % gcloud functions deploy % --runtime go111 --trigger-http --allow-unauthenticated