When creating an app with Wix Block, we can expose some endpoints (https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/wix-blocks/code-in-blocks/expose-a-blocks-app-api-with-http-functions)
What would be the equivalent of that in CLI?
I want my app to expose some endpoint so user can forward third party events into it
Blocks allows you to create functions to expose the functionality of your app as a service. You can use it in sites where your app is installed by calling your app's APIs, as defined by the functions you create in the http-functions.js file.