You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/cli.rs
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -24,18 +24,36 @@ pub enum SubCommands {
24
24
AddModrinth{
25
25
#[clap(help("The project ID is specified at the bottom of the left sidebar under 'Technical information'\nYou can also use the project slug for this"))]
26
26
project_id:String,
27
+
#[clap(long)]
28
+
#[clap(help("Whether the game version should be checked for this mod"))]
29
+
dont_check_game_version:bool,
30
+
#[clap(long)]
31
+
#[clap(help("Whether the mod loader should be checked for this mod"))]
32
+
dont_check_mod_loader:bool,
27
33
},
28
34
#[clap(about("Add a GitHub repository to the profile"))]
29
35
AddGithub{
30
36
#[clap(help("The repository owner's username"))]
31
37
owner:String,
32
38
#[clap(help("The name of the repository"))]
33
39
name:String,
40
+
#[clap(long)]
41
+
#[clap(help("Whether the game version should be checked for this mod"))]
42
+
dont_check_game_version:bool,
43
+
#[clap(long)]
44
+
#[clap(help("Whether the mod loader should be checked for this mod"))]
45
+
dont_check_mod_loader:bool,
34
46
},
35
47
#[clap(about("Add a CurseForge mod to the profile"))]
36
48
AddCurseforge{
37
49
#[clap(help("The project ID is specified at the right sidebar under 'About Project'"))]
38
50
project_id:i32,
51
+
#[clap(long)]
52
+
#[clap(help("Whether the game version should be checked for this mod"))]
53
+
dont_check_game_version:bool,
54
+
#[clap(long)]
55
+
#[clap(help("Whether the mod loader should be checked for this mod"))]
56
+
dont_check_mod_loader:bool,
39
57
},
40
58
#[clap(about("List all the mods in the profile, and with some their metadata if verbose"))]
0 commit comments