Plugin SDK for Raxol terminal applications.
Provides the tools to build, test, and manage Raxol plugins:
Raxol.Plugin-usemacro with overridable callback defaultsRaxol.Plugin.API- Facade for loading/unloading/enabling plugins at runtimeRaxol.Plugin.Manifest- Cross-package manifest builder and validatorRaxol.Plugin.Testing- ExUnit helpers for plugin test suitesmix raxol.gen.plugin- Code generator for new plugins
Quick start
defmodule MyPlugin do
use Raxol.Plugin
@impl true
def init(config), do: {:ok, %{config: config}}
endSee Raxol.Plugin for the full callback list and defaults.
Summary
Functions
@spec version() :: String.t()
Returns the package version.