Static Methodswift-argument-parser 1.6.1ArgumentParser
message(_:)
Treat this error as a clean exit with the given message.
static func message(_ text: String) -> CleanExit
Treat this error as a clean exit with the given message.
static func message(_ text: String) -> CleanExit
import ArgumentParser
Straightforward, type-safe argument parsing for Swift.
struct CleanExit
An error type that represents a clean (non-error state) exit of the utility.
@frozen struct String
A Unicode string value that is a collection of characters.
static func helpRequest(_ command: any ParsableCommand) -> CleanExit
Treat this error as a help request and display the full help message.
static func helpRequest(_ command: (any ParsableCommand.Type)? = nil) -> CleanExit
Treat this error as a help request and display the full help message.
var description: String { get }