File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ enum SearchCommands {
38
38
39
39
#[ derive( Debug , Subcommand ) ]
40
40
enum Commands {
41
+ /// Update MMRL CLI
41
42
#[ command( arg_required_else_help = true , aliases = & [ "sup" , "up" ] ) ]
42
43
Upself {
43
44
/// Skip confirm
@@ -46,23 +47,27 @@ enum Commands {
46
47
/// Example: 0.1.0
47
48
version : String ,
48
49
} ,
50
+ /// View module infomation
49
51
#[ command( arg_required_else_help = true , aliases = & [ "view" ] ) ]
50
52
Info {
51
53
/// Give info from given module ids
52
54
ids : Vec < String > ,
53
55
} ,
56
+ /// Search through modules
54
57
#[ command( arg_required_else_help = true , aliases = & [ "lookup" , "find" ] ) ]
55
58
Search {
56
59
#[ clap( subcommand) ]
57
60
commands : SearchCommands ,
58
61
// Downloads the modules from the given ids
59
62
// query: String,
60
63
} ,
64
+ /// Download any module
61
65
#[ command( arg_required_else_help = true , aliases = & [ "dl" ] ) ]
62
66
Download {
63
67
/// Downloads the modules from the given ids
64
68
ids : Vec < String > ,
65
69
} ,
70
+ /// Install any module
66
71
#[ command( arg_required_else_help = true , aliases = & [ "add" , "get" , "fetch" ] ) ]
67
72
Install {
68
73
/// Skip confirm
You can’t perform that action at this time.
0 commit comments