Scaffold, build, deploy and invoke OpenFaaS functions. Registry login, secrets, templates and store commands are left out.
faas-cli newScaffold a new function from a template in the current folder.
namelangprefixliststring · positional 0string--langnode20python3-httpgolang-middlewarestring--prefix-purl--gateway-gboolean--listpath--append-aboolean--quiet-qfaas-cli upRun build, push and deploy for the functions in a stack file.
yamlfilteryamlskip_pushpath--yaml-fstring--filterboolean--publishstring--platformslinux/amd64linux/arm64linux/amd64,linux/arm64boolean--skip-pushboolean--skip-deployboolean--watchfaas-cli deployDeploy functions from a stack file or an existing image.
yamlgatewaynamespaceimagenamegatewayenvsecretpath--yaml-furl--gateway-gstring--namespace-nstring--imagestring--namestring · repeatable--env-estring · repeatable--label-lstring · repeatable--secretboolean--replaceboolean--tls-no-verifyfaas-cli invokeCall a deployed function; the request body is read from standard input.
functiongatewaycontent_typeheaderfunctionmethodquerystring · positional 0url--gateway-gstring--content-typeapplication/jsontext/plainstring · repeatable--header-Hstring · repeatable--querystring--method-mPOSTGETboolean--async-ahelphelpmaster 2026-10-27helphelpmaster 2026-10-27helphelpmaster 2026-10-27helphelpmaster 2026-10-27helphelpmaster 2026-10-27Before it fills your prompt, Otty checks the installed faas-cli against its version. A form that does not match your version is not offered.