Skip to content

Type Method

detect(arguments:)

Detects the environment from CommandLine.arguments. Invokes detect(from:).
static func detect(arguments: [String] = ProcessInfo.processInfo.arguments) throws -> Environment

Parameters

arguments

Command line arguments to detect environment from.

Return Value

The detected environment, or default env.