faas-cli

CLI for building, pushing, and deploying OpenFaaS functions

brewmacoslinux
Try with needOr install directly
Source

About

CLI for templating and/or deploying FaaS functions

Commands

faas-cli

Examples

Create a new function from a template$ faas-cli new --lang python3 my-function
Build and push function to registry$ faas-cli build -f my-function.yml && faas-cli push -f my-function.yml
Deploy function to OpenFaaS gateway$ faas-cli deploy -f my-function.yml --gateway http://localhost:8080