enum CommandLine
Import | import Swift |
---|
Static Variables
Access to the raw argc value from C.
Declaration
static var argc: Int32 { get }
Access to the swift arguments, also use lazy initialization of static properties to safely initialize the swift arguments.
Declaration
static var arguments: [String] { get set }
Access to the raw argv value from C. Accessing the argument vector through this pointer is unsafe.
Declaration
static var unsafeArgv: UnsafeMutablePointer<UnsafeMutablePointer<Int8>?> { get }
Command-line arguments for the current process.