CommandArgument
public protocol CommandArgument : CustomStringConvertible
A representation of an unresolved argument
-
Indicating wether or not the argument is optional and can be
nil
.Declaration
Swift
var isOptional: Bool { get }
-
Indicating wether or not the argument is consuming, or will take a single argument.
Declaration
Swift
var isConsuming: Bool { get }
-
The type of the argument.
Declaration
Swift
var componentType: String { get }
-
The name of the argument.
Declaration
Swift
var componentName: String { get }
-
description
Extension methodDeclaration
Swift
public var description: String { get }