Raxol.Plugins.Examples.RainbowThemePlugin (Raxol v2.0.1)

View Source

Example plugin demonstrating the Plugin System v2.0 capabilities.

This plugin adds a rainbow theme to the terminal with animated color transitions. It showcases:

  • Plugin manifest structure
  • Hook implementations
  • Hot-reload support
  • Configuration management
  • Event handling

Summary

Functions

get_commands()

handle_event(arg1, state)

handle_rainbow_help(args, state)

handle_rainbow_next(args, state)

handle_rainbow_palette(colors, state)

handle_rainbow_speed(arg1, state)

handle_rainbow_start(args, state)

handle_rainbow_stop(args, state)

manifest()

migrate_state(old_version, old_state, new_config)

on_command(binary, args, state)

on_load(state)

on_theme_change(theme_name, state)

on_unload(state)