@@ -20,47 +20,47 @@ struct Cli {
20
20
21
21
#[ derive( Subcommand ) ]
22
22
enum Commands {
23
- /// Authenticate with LeetCode [ -a ]
24
- #[ command( alias = "-a" ) ]
23
+ /// Authenticate with LeetCode
24
+ #[ command( visible_alias = "-a" ) ]
25
25
Auth ,
26
- /// Executes code with testcases [ -r ]
27
- #[ command( alias = "-rt" ) ]
26
+ /// Executes code with testcases
27
+ #[ command( visible_alias = "-rt" ) ]
28
28
RunCustom {
29
29
/// Testcases to run
30
30
testcases : String ,
31
31
/// File to execute
32
32
filename : Option < String > ,
33
33
} ,
34
- #[ command( alias = "-r" ) ]
34
+ #[ command( visible_alias = "-r" ) ]
35
35
Run {
36
36
/// File to execute with default testcases
37
37
filename : Option < String > ,
38
38
} ,
39
- /// Submits code to LeetCode [ -s ]
40
- #[ command( alias = "-fs" ) ]
39
+ /// Submits code to LeetCode
40
+ #[ command( visible_alias = "-fs" ) ]
41
41
FastSubmit {
42
42
/// File to submit
43
43
filename : Option < String > ,
44
44
} ,
45
- #[ command( alias = "-s" ) ]
45
+ #[ command( visible_alias = "-s" ) ]
46
46
Submit {
47
47
/// File to submit
48
48
filename : Option < String > ,
49
49
} ,
50
- /// Save a question as HTML [ -q ]
51
- #[ command( alias = "-q" ) ]
50
+ /// Save a question as HTML
51
+ #[ command( visible_alias = "-q" ) ]
52
52
Question {
53
53
/// Question name
54
54
question_name : String ,
55
55
} ,
56
- /// Save today's daily challenge as HTML [ -d ]
57
- #[ command( alias = "-d" ) ]
56
+ /// Save today's daily challenge as HTML
57
+ #[ command( visible_alias = "-d" ) ]
58
58
DailyChallenge ,
59
59
}
60
60
61
61
#[ derive( Subcommand ) ]
62
62
enum Execute {
63
- #[ command( alias = "-t" ) ]
63
+ #[ command( visible_alias = "-t" ) ]
64
64
Testcases {
65
65
/// File to run
66
66
filename : Option < String > ,
0 commit comments