Environment
public struct Environment: Equatable
Used for telling the current manifest instance what environment it is being used in.
-
The name of the environmnt
Declaration
Swift
public let name: String
-
Used to tell the manifest instance that it is being used in the command-line.
Declaration
Swift
public static let commandline = Environment(name: "command-line")
-
Used to tell the manifest it is being used to test it’s methods on a string.
Declaration
Swift
public static let testing = Environment(name: "testing")