Skip to content

Commit 78864c7

Browse files
Small tweaks and switch to crates libium
1 parent 4dfa8ae commit 78864c7

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

Cargo.lock

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ once_cell = "1.19"
4242
fs_extra = "1.3"
4343
colored = "2.1"
4444
ferinth = "2.10"
45-
# libium = "1.24"
46-
libium = { path = "../libium" }
45+
libium = "1.24"
4746
anyhow = "1.0"
4847
furse = "1.5"
4948
size = "0.4"

src/cli.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ pub enum SubCommands {
8686
},
8787
/// List all the profiles with their data
8888
Profiles,
89-
/// Remove mods and repositories from the profile.
89+
/// Remove mods and/or repositories from the profile.
9090
/// Optionally, provide a list of names or IDs of the mods to remove.
9191
#[clap(visible_alias = "rm")]
9292
Remove {
@@ -149,7 +149,6 @@ pub enum ProfileSubCommands {
149149
#[clap(visible_aliases = ["remove", "rm"])]
150150
Delete {
151151
/// The name of the profile to delete
152-
#[clap(long, short = 'n')]
153152
profile_name: Option<String>,
154153
},
155154
/// Show information about the current profile
@@ -160,7 +159,6 @@ pub enum ProfileSubCommands {
160159
/// Optionally, provide the name of the profile to switch to.
161160
Switch {
162161
/// The name of the profile to switch to
163-
#[clap(long, short = 'n')]
164162
profile_name: Option<String>,
165163
},
166164
}
@@ -212,7 +210,6 @@ pub enum ModpackSubCommands {
212210
/// Optionally, provide the name of the modpack to switch to.
213211
Switch {
214212
/// The name of the modpack to switch to
215-
#[clap(long, short = 'n')]
216213
modpack_name: Option<String>,
217214
},
218215
/// Download and install the latest version of the modpack

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ async fn actual_main(mut cli_app: Ferium) -> Result<()> {
285285
}
286286
} else {
287287
println!(
288-
"Listing Profile {} {} on {:6} {:7}\n",
288+
"{} {} on {:6} {:7}\n",
289289
profile.name.bold(),
290290
format!("({} mods)", profile.mods.len()).yellow(),
291291
format!("{:?}", profile.mod_loader).purple(),

0 commit comments

Comments
 (0)