Static Property (Default implementation)swift-argument-parser 1.6.1ArgumentParser
_commandName
ParsableCommand.swift:38static var _commandName: String { get }static var _commandName: String { get }s14ArgumentParser15ParsableCommandPAAE12_commandNameSSvpZ What are these?9OZQ3import ArgumentParserStraightforward, type-safe argument parsing for Swift.
protocol ParsableCommand : ParsableArgumentsA type that can be executed as part of a nested tree of commands.
@frozen struct StringA Unicode string value that is a collection of characters.
static var _commandName: String { get }For internal use only: The name for the command on the command line.
static var configuration: CommandConfiguration { get }static func helpMessage(for subcommand: any ParsableCommand.Type, includeHidden: Bool = false, columns: Int? = nil) -> String Returns the text of the help screen for the given subcommand of this command.
static func main() Executes this command, or one of its subcommands, with the program’s command-line arguments.
static func main(_ arguments: [String]?) Executes this command, or one of its subcommands, with the given arguments.
static func parseAsRoot(_ arguments: [String]? = nil) throws -> any ParsableCommand Parses an instance of this type, or one of its subcommands, from command-line arguments.
static func usageString(for subcommand: any ParsableCommand.Type, includeHidden: Bool = false) -> String Returns the usage text for the given subcommand of this command.
mutating func run() throws static func helpMessage(for subcommand: any ParsableCommand.Type, columns: Int? = nil) -> String Returns the text of the help screen for the given subcommand of this command.