You are probably looking for OpenFaaS - openfaas/faas.
At time of writing the OpenFaaS CLI has between 500-600 commits and is written entirely in Go. Go is a fast and efficient language for building CLIs and allows code re-use between the CLI and other components in the project.
If you landed on this page, use the openfaas/faas-cli written in Go which is:
brewfor MacOS, Linux and Windows
sudo npm i -g serverless
Note: until 0.6.9 of the CLI is released you will need to rebuild it from source.
git clone https://github.com/openfaas/faas-cliand
cd faas-cli && ./build_redist.sh
$ curl -sSL https://cli.openfaas.com | sudo sh
Or install via
brew install faas-cli.
You can deploy OpenFaaS locally or remotely with Docker Swarm or Kubernetes. See the documentation
$ git clone https://github.com/openfaas/serverless-openfaas
Link the plugin so it's available to Node:
sls package sls deploy sls deploy function -f <your-function> sls deploy list sls invoke -f <your-function> -d <your-data> # -d flag optional sls remove
Help is wanted. Please see the contributing guide