CLI
The Velocity CLI is currently the only way you can create and invoke Velocity functions. I will be adding custom function invocation URLs pretty soon.
Last updated
The Velocity CLI is currently the only way you can create and invoke Velocity functions. I will be adding custom function invocation URLs pretty soon.
Last updated
Download the precompiled binary for your operating system on the
Let's use the CLI to create a function that just returns hello world. Create a file called function.js
and input the following code
Next, you have to create a zip file containing this code. If you are on windows with poershell, use the following command
If you are on Linux/Mac, use the following command
Next, create a function by running the following command
To list all the functions you have deployed, run the following command
To invoke a function, run the following command
To delete a function, run the following command