Command-line tools for local bfast-functions development.
Scope: create a local FaaS workspace and serve it locally.
Prerequisites:
- Node.js 18+
- npm
Install globally:
npm install -g bfast-toolsVerify:
bfast --version- Create a local functions workspace:
bfast fs create my-functions
cd my-functions- Run locally:
bfast fs serve --port 3000You can also run the same flow with bfast-functions:
bfast-functions create my-functions
bfast-functions serve --port 3000bfast functions/bfast fsbfast-functions
Only these commands are available:
createserve