nanoctl
CLI provides commands to help you create and manage these Nodes efficiently, primarily through the create node
command.
create node
Purpose: To generate the boilerplate files for a new Node, including its definition (Usage:node.json
) and implementation file (e.g.,index.ts
), placing them in the appropriate directory within your project (usuallynodes/
).
fetch
).
index.ts
file inside the node directory and update the class name to match your node name (Fetch
in this example):
Nodes.ts
Filesrc/Nodes.ts
:
Nodes.ts
.