0.0.309 • Published 1 year ago

@yal-app/cli v0.0.309

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

Yal plugins CLI

🛠️ Scaffold the plugin

npx --package=@yal-app/cli@latest create-yal-plugin

You can scaffold out a new plugin template using the create-yal-plugin command. This will create a new folder with an base plugin to get started with.

💻 Develop the plugin

npx --package=@yal-app/cli@latest develop-yal-plugin './path-to-folder'

To develop your plugin, run the develop-yal-plugin command and pass it the path of the newly created folder from the create-yal-plugin step.

This will start the development server for your plugin to be used in yal.

Go to yal and type reload, and you will see a prompt to reload all plugins.

When yal reloads, your new plugin will be loaded in to yal.

You can edit the source code of your plugin and it will be updated in yal in real time. There is no need to reload the plugins each time.

🚀 Install the plugin to your .yal folder

npx --package=@yal-app/cli@latest install-yal-plugin './path-to-folder'

Once you have finished developing your plugin, you can use the install-yal-plugin command which will bundle up your plugin and copy it to your ~/.yal/plugins directory.

This will make your plugin available in yal, without having to run the development server.

0.0.309

1 year ago

0.0.308

1 year ago

0.0.307

1 year ago

0.0.306

1 year ago

0.0.305

1 year ago

0.0.304

1 year ago

0.0.302

1 year ago

0.0.301

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago