gfaas
v1.1.18
Published
### Workflow
Readme
gFaaS CLI
Workflow

Create functions
gfaas newFunction --lang $LANGUAGELANGUAGE in {go1.19, python3.9, node14, java19, cpp20}
Build function
gfaas build function.yamlPush function
gfaas push function.yamlDeploy function
gfaas deploy function.yaml $PLATFORM_IDDelete function
gfaas delete function $FUNCTION_IDShow function details
gfaas function $FUNCTION_IDShow deployed functions
gfaas functionsShow available platforms
gfaas platformsgfaas platforms --healthIntegrate gFaaS into existing projects with adapt functionality
gfaas adapt --lang $LANGUAGELANGUAGE in {go1.19, python3.9, node14, java19, cpp20}
CLI Development
Build
npm run buildPublish to npm
npm publishDevelopment
npm run startInstall CLI
npm i gfaas -gCreate executables
- Execute build-executables.sh to create executables for the different platforms. Make sure to install the necessary tools first.
npm i -g @vercel/nccncc build index.ts -o distnpm install -g pkgcd dist && pkg index.jsCreate dockered CLI
docker build -t registry.hub.docker.com/paulwie/gfaas-cli .docker push registry.hub.docker.com/paulwie/gfaas-cliRun CLI command in docker
docker run --rm registry.hub.docker.com/paulwie/gfaas-cli --version