Required Static Methodswift-argument-parser 1.6.1ArgumentParser
help(for:)
Returns the help information to show for the given flag.
static func help(for value: Self) -> ArgumentHelp?
The default implementation for this method always returns nil
, which groups the flags together with the help provided in the @Flag
declaration. Implement this method for your custom type to provide different help information for each flag.