Command-line interface

The OpenFaaS command-line interface is just another way to use OpenFaaS. The latest version of the CLI can be obtained directly from the installation script at https://cli.openfaas.com. For both Linux and macOS, the CLI can be installed using the following command:

$ curl -sL https://cli.openfaas.com | sudo sh

Currently, the installation script supports macOS and Linux running on ARM, ARM64, and x64 chips. The CLI has been designed to manage the life cycle of OpenFaaS functions. We can build, deploy, and invoke functions using sub-commands provided by the CLI.

The CLI actually controls OpenFaaS via a set of control plane APIs exposed by its API gateway.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset