Structure
CommandInput
Raw input for commands. Use this to parse options and arguments for the command context.
struct CommandInput
Topics
Initializers
init(arguments: [String])Create a newCommandInput.
Instance Properties
var arguments: [String]TheCommandInput’s raw arguments. This array will be mutated as arguments and options are parsed from theCommandInput.var executable: Stringvar executablePath: [String]The current executable path.
Relationships
Conforms To
Swift.SendableSwift.SendableMetatype