Skip to content

Commit

Permalink
Small tweaks and switch to crates libium
Browse files Browse the repository at this point in the history
  • Loading branch information
theRookieCoder committed Jan 28, 2024
1 parent 4dfa8ae commit 78864c7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
4 changes: 3 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ once_cell = "1.19"
fs_extra = "1.3"
colored = "2.1"
ferinth = "2.10"
# libium = "1.24"
libium = { path = "../libium" }
libium = "1.24"
anyhow = "1.0"
furse = "1.5"
size = "0.4"
Expand Down
5 changes: 1 addition & 4 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ pub enum SubCommands {
},
/// List all the profiles with their data
Profiles,
/// Remove mods and repositories from the profile.
/// Remove mods and/or repositories from the profile.
/// Optionally, provide a list of names or IDs of the mods to remove.
#[clap(visible_alias = "rm")]
Remove {
Expand Down Expand Up @@ -149,7 +149,6 @@ pub enum ProfileSubCommands {
#[clap(visible_aliases = ["remove", "rm"])]
Delete {
/// The name of the profile to delete
#[clap(long, short = 'n')]
profile_name: Option<String>,
},
/// Show information about the current profile
Expand All @@ -160,7 +159,6 @@ pub enum ProfileSubCommands {
/// Optionally, provide the name of the profile to switch to.
Switch {
/// The name of the profile to switch to
#[clap(long, short = 'n')]
profile_name: Option<String>,
},
}
Expand Down Expand Up @@ -212,7 +210,6 @@ pub enum ModpackSubCommands {
/// Optionally, provide the name of the modpack to switch to.
Switch {
/// The name of the modpack to switch to
#[clap(long, short = 'n')]
modpack_name: Option<String>,
},
/// Download and install the latest version of the modpack
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ async fn actual_main(mut cli_app: Ferium) -> Result<()> {
}
} else {
println!(
"Listing Profile {} {} on {:6} {:7}\n",
"{} {} on {:6} {:7}\n",
profile.name.bold(),
format!("({} mods)", profile.mods.len()).yellow(),
format!("{:?}", profile.mod_loader).purple(),
Expand Down

0 comments on commit 78864c7

Please sign in to comment.