Raxol.Terminal.Extension.UnifiedExtension (Raxol v0.5.0)
View SourceUnified extension system for the Raxol terminal emulator. Handles extension management, integration, and communication with the terminal.
Summary
Functions
Activates an extension.
Returns a specification to start this module under a supervisor.
Deactivates an extension.
Executes an extension command.
Exports an extension to a file or directory.
Gets the state of an extension.
Gets all loaded extensions.
Imports an extension from a file or directory.
Loads an extension from a file or directory.
Registers a hook for an extension.
Triggers a hook for all registered extensions.
Unloads an extension by its ID.
Unregisters a hook for an extension.
Updates an extension's configuration.
Types
@type extension_id() :: String.t()
@type extension_state() :: %{ id: extension_id(), name: String.t(), type: extension_type(), version: String.t(), description: String.t(), author: String.t(), license: String.t(), config: map(), status: :idle | :active | :error, error: String.t() | nil, metadata: map(), dependencies: [String.t()], hooks: [String.t()], commands: [String.t()] }
@type extension_type() :: :theme | :script | :plugin | :custom
Functions
Activates an extension.
Returns a specification to start this module under a supervisor.
See Supervisor
.
Deactivates an extension.
Executes an extension command.
Exports an extension to a file or directory.
Gets the state of an extension.
Gets all loaded extensions.
Imports an extension from a file or directory.
Loads an extension from a file or directory.
Registers a hook for an extension.
Triggers a hook for all registered extensions.
Unloads an extension by its ID.
Unregisters a hook for an extension.
Updates an extension's configuration.