oxenode / cli

Create Oxenode Plugins

Home Page:https://oxenode.io/docs/Create-a-plugin/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@oxenode/cli

Oxenode's cli lets you to create an Oxenode plugin project with all the tools required for development. You can find a documentation article on creating your plugin on the official site.

Installation

Install the cli as a global package

npm i -g @oxenode/cli

Create plugins & nodes

Create MyPlugin, you can also create MyNode from the root of the plugin

oxenode plugin MyPlugin

cd MyPlugin

oxenode node MyNode

Presets & Examples

You can also start from a Node preset:

# Will create ./src/MyStateNode.tsx with an example on State
oxenode node MyStateNode state

# Will create ./src/MyOutputNode.tsx with an example on Outputing data
oxenode node MyOutputNode output

# Will create ./src/MyInputNode.tsx with an example on Inputing data
oxenode node MyInputNode input

Develop

You can start a hotreload development server

npm run dev

Build

You can then build for production in the root of your project

npm run build

Compiled source is found in ./dist



About

Create Oxenode Plugins

https://oxenode.io/docs/Create-a-plugin/


Languages

Language:JavaScript 90.2%Language:Handlebars 9.1%Language:TypeScript 0.7%