Initializer
init(name:help:completion:)
Creates a new
Argumentinit(name: String, help: String = "", completion: CompletionAction = .default)
Parameters
nameThe argument’s identifying name.
helpThe arguments’s help text when
--helpis passed in.completionThe argument’s shell completion action. See
CompletionActionfor more information and available actions.
Discussion
@Argument(name: "count", help: "The number of times to run the command")
var count: Int