Skip to content

STRUCT

Arguments ​

Contents

  • Properties
    • environmentVariables
    • launchArguments
  • Methods
    • init(environmentVariables:launchArguments:)
    • init(launchArguments:)
    • ==(_:_:)
swift
public struct Arguments: Equatable, Codable

A collection of arguments and environment variables.

Properties ​

environmentVariables ​

swift
public var environmentVariables: [String: EnvironmentVariable]

launchArguments ​

swift
public var launchArguments: [LaunchArgument]

Methods ​

init(environmentVariables:launchArguments:) ​

swift
public init(
    environmentVariables: [String: EnvironmentVariable] = [:],
    launchArguments: [LaunchArgument] = []
)

init(launchArguments:) ​

swift
public init(launchArguments: [LaunchArgument])

==(_:_:) ​

swift
public static func == (lhs: Arguments, rhs: Arguments) -> Bool

Parameters ​

NameDescription
lhsA value to compare.
rhsAnother value to compare.