{"repo":"openfaas/faas-cli","free":true,"listed":false,"github":"https://github.com/openfaas/faas-cli","clone":"git clone https://github.com/openfaas/faas-cli.git","description":"Official CLI for OpenFaaS","language":"Go","stars":816,"topics":["cli","faas-cli","docker","faas","handler","lambda","nodejs","python","templating","golang"],"license":"MIT","category":"cli-tools","readme_excerpt":"faas-cli faas-cli is the official CLI for OpenFaaS Run a demo with faas-cli --help The CLI can be used to build and deploy functions to OpenFaaS. You can build OpenFaaS functions from a set of supported language templates (such as Node.js, Python, CSharp and Ruby). That means you just write a handler file such as (handler.py/handler.js) and the CLI does the rest to create a Docker image. New user? See how it works: Morning coffee with the faas-cli Already an OpenFaaS user? Try 5 tips and tricks for the OpenFaaS CLI Get started: Install the CLI You can install the CLI with a curl utility script, brew or by downloading the binary from the releases page. Once installed you'll get the faas-cli command and faas alias. Utility script with curl : Non-root with curl (requires further actions as advised after downloading): Via brew: Note: The brew release may not run the latest minor release but is updated regularly. Via npm (coming soon): Note: See npm specific installation instructions and usage in the npm README.md Windows To install the faas-cli on Windows go to Releases and download the latest faas-cli.exe. Or in PowerShell: Build from source The contributing guide has instructions for building from source and for configuring a Golang development environment. Run the CLI The main commands supported by the CLI are: faas-cli new - creates a new function via a template in the current directory faas-cli login - stores basic auth credentials for OpenFaaS gateway (supports multiple gat","default_branch":null,"files":null,"tree":[],"storefront":"/r/openfaas","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/openfaas/faas-cli/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}