Skip to content

alexandre-normand/landler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

landler

list

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.

Why

The idea was to enable listing of all gcloud functions in a package to script the gcloud deployment of gcloud functions.

Installation

go install github.com/alexandre-normand/landler

Usage Example

$ landler

MyHttpHandler
OtherHttpHandler

Deploy all http handlers as public gcloud functions

$ landler | xargs -t  -I % gcloud functions deploy % --runtime go111 --trigger-http --allow-unauthenticated

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages