Static Methodswift-argument-parser 1.6.1ArgumentParser
helpRequest(_:)
Treat this error as a help request and display the full help message.
static func helpRequest(_ command: (any ParsableCommand.Type)? = nil) -> CleanExit
Parameters
- command
The command type to offer help for, if different from the root command.
Returns
A throwable CleanExit error.
You can use this case to simulate the user specifying one of the help flags or subcommands.