edjx function init

Creates a directory for a new function.

Sample EDJX Rust serverless functions are available in the EDJX Rust source code repo. We advise you to clone this repo when using the EDJX CLI to build and deploy functions.
edjx function init <dir-name>

Argument

dir-name         Name of the directory for the function code to reside.

Example

To create a directory named project with a function called function01:

root@edjx:~ # edjx function init project
Function Name: function01
✔ WASM
✔ Rust
✔ HTTP
✔ 30
✔ 64
Setting up project with starter files......
Project successfully initialized in project directory