A CLI plugin that manages StoreFramework serverless functions
npm install @vtex/cli-plugin-functionsTest StoreFramework JAMStack serverless functions locally.
The Gatsby store should have a directory functions containing serverless
functions. You can use this project as an example:
vtex-site/storefaas.store.
Please refer to the this Notion
page
for more information.

!npm
* VTEX CLI Plugin Functions
* Usage
* Commands
sh-session
$ npm install -g @vtex/cli-plugin-functions
$ vtex COMMAND
running command...
$ vtex (-v|--version|version)
@vtex/cli-plugin-functions/1.0.0 linux-x64 node-v12.22.1
$ vtex --help [COMMAND]
USAGE
$ vtex COMMAND
...
`
Commands
* vtex sfj
* vtex sfj:startvtex sfjStoreFramework serverless functions
`
USAGE
$ vtex sfjEXAMPLE
$ vtex-test sfj start
`_See code: build/commands/sfj/index.ts_
vtex sfj:startrun a local server to develop with serverless functions
`
USAGE
$ vtex sfj:startOPTIONS
-h, --help show CLI help
-v, --verbose Show debug level logs
--trace Ensure all requests to VTEX IO are traced
EXAMPLE
$ vtex functions
``_See code: build/commands/sfj/start.ts_