Skip to content

ENUM

Config.Script

Contents

  • Cases
    • script(_:)
    • plugin(_:)
  • Methods
    • script(_:isErrorIgnored:shellPath:)
    • plugin(name:executable:args:)
swift
public enum Script: Codable, Equatable

Cases

script(_:)

swift
case script(_ script: ShellScript)

plugin(_:)

swift
case plugin(_ plugin: ExecutablePlugin)

Methods

script(_:isErrorIgnored:shellPath:)

swift
public static func script(
    _ script: String,
    isErrorIgnored: Bool = false,
    shellPath: String? = nil
) -> Script

plugin(name:executable:args:)

swift
public static func plugin(
    name: String,
    executable: String? = nil,
    args: [String] = []
) -> Script

Calling the executable plugin.