edjx function init
Creates a directory for a new function.
Options
Option | Required | Type | Description |
---|---|---|---|
|
Yes |
string |
Name of the directory for the function code to reside. |
Global Flags
Option | Required | Type | Description |
---|---|---|---|
|
No |
Displays inline help for the command. |
|
|
No |
string |
Location of client configuration file (default file path is |
Create a directory for a Rust function
-
Set the organization to be associated with all EDJX operations.
edjx config organization -i
If no organizations display, create one using EdjConsole.
-
Create an application.
edjx application create -n <string>
-
Set the application to be associated with any new functions.
edjx config application -i
-
Create the directory named project-rust with a function called rust-function:
edjx function init project-rust Function Name: rust-function ✔ WASM ✔ Rust ✔ HTTP ✔ 30 ✔ 64 Setting up project with starter files...... Project successfully initialized in project-rust directory
Create a directory for a C++ function
-
Set the organization to be associated with all EDJX operations.
edjx config organization -i
If no organizations display, create one using EdjConsole.
-
Create an application.
edjx application create -n <string>
-
Set the application to be associated with any new functions.
edjx config application -i
-
Create the directory named project-cpp with a function called cpp-function:
edjx function init project-cpp Function Name: cpp-function ✔ WASM ✔ C++ ✔ HTTP ✔ 30 ✔ 64 Setting up project with starter files...... Project successfully initialized in project-cpp directory