Skip to content

STRUCT

PluginConfigManifest

Contents

  • Properties
    • name
    • executables
    • workspaceMapper
  • Methods
    • init(name:executables:workspaceMapper:)
    • plugin(name:executables:workspaceMapper:)
swift
public struct PluginConfigManifest: Codable, Equatable

Plugin definition in the Config.

Properties

name

swift
public let name: String

The name of the Plugin

executables

swift
public let executables: [ExecutablePlugin]

Plugin executables files.

workspaceMapper

swift
public let workspaceMapper: WorkspaceMapperPlugin?

Plugin workspace mapper.

Methods

init(name:executables:workspaceMapper:)

swift
public init(
    name: String, 
    executables: [ExecutablePlugin] = [],
    workspaceMapper: WorkspaceMapperPlugin? = nil
)

plugin(name:executables:workspaceMapper:)

swift
public static func plugin(name: String, executables: [ExecutablePlugin] = [], workspaceMapper: WorkspaceMapperPlugin? = nil) -> Self

Creates a new plugin in Config.

  • Parameters:
    • name: The name of the plugin.
    • executables: Plugin executables files.
    • workspaceMapper: Plugin workspace mapper.

Parameters

NameDescription
nameThe name of the plugin.
executablesPlugin executables files.
workspaceMapperPlugin workspace mapper.