Instance Propertyswift-argument-parser 1.6.1ArgumentParser
isSuccess
A Boolean value indicating whether this exit code represents the successful completion of a command.
var isSuccess: Bool { get }
A Boolean value indicating whether this exit code represents the successful completion of a command.
var isSuccess: Bool { get }
import ArgumentParser
Straightforward, type-safe argument parsing for Swift.
struct ExitCode
An error type that only includes an exit code.
@frozen struct Bool
A value type whose instances are either true
or false
.
init(_ code: Int32)
Creates a new ExitCode
with the given code.
init(rawValue: Int32)
static let failure: ExitCode
An exit code that indicates that the command failed.
static let success: ExitCode
An exit code that indicates successful completion of a command.
static let validationFailure: ExitCode
An exit code that indicates that the user provided invalid input.
var rawValue: Int32
The exit code represented by this instance.