Environment
struct Environment
A type for handle environment variables.
-
The array of all environment variable keys passed to the script.
Declaration
Swift
public var keys: [String] { get }
-
Accesses the environment variable value at the given key.
Declaration
Swift
public subscript(key: String) -> String? { get set }
Parameters
key
The environment variable key.