File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -18,16 +18,15 @@ import Shared
18
18
@main
19
19
struct < #ChallengeName#> : AsyncParsableCommand
20
20
{
21
- // /// Adds a `--mode` option to the command, which allows the command's logic
21
+ // /// Adds a "sub-command" argument to the command, which allows the logic
22
22
// /// to branch and handle requirements of either "Part One" or "Part Two".
23
- // /// The option must be followed by a value from this enumeration.
23
+ // /// The argument must be a value from this enumeration.
24
24
// enum Mode: String, ExpressibleByArgument, CaseIterable
25
25
// {
26
26
// case <#modeA#>
27
27
// case <#modeB#>
28
28
// }
29
- // @Option(help: "'<#modeA#>' or '<#modeB#>'")
30
- // var mode: Mode
29
+ // @Argument var mode: Mode
31
30
32
31
// /// Adds a flag to the command, named for the behavioral difference in
33
32
// /// "Part Two." This allows the command's logic to branch and handle the
You can’t perform that action at this time.
0 commit comments