mirror of
https://github.com/JonasunderscoreJones/moddah.git
synced 2025-10-25 14:49:19 +02:00
added cli arguments and planned plugin loader support
This commit is contained in:
parent
358f3be677
commit
ecdacee67c
1 changed files with 22 additions and 2 deletions
|
|
@ -1,7 +1,9 @@
|
||||||
|
use std::env;
|
||||||
|
|
||||||
pub(crate) fn help()
|
pub(crate) fn help()
|
||||||
{
|
{
|
||||||
println!("Moddah is a managing tool for Minecraft modded clients and servers.
|
println!("Moddah is a managing tool for Minecraft modded and plugin servers.
|
||||||
The supported toolchains are FabricMC, ForgeModLoader, QuiltMC.
|
The supported toolchains are FabricMC, ForgeModLoader, QuiltMC, SpigotMC.
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
moddah
|
moddah
|
||||||
|
|
@ -40,4 +42,22 @@ Options:
|
||||||
- [leave blank for current directory]
|
- [leave blank for current directory]
|
||||||
- [directory of choice]
|
- [directory of choice]
|
||||||
")
|
")
|
||||||
|
}
|
||||||
|
|
||||||
|
pub(crate) fn version()
|
||||||
|
{
|
||||||
|
println!("Moddah version {}-{}({})", env!("CARGO_PKG_VERSION"), env::consts::OS, env::consts::ARCH);
|
||||||
|
std::process::exit(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
pub(crate) fn install()
|
||||||
|
{
|
||||||
|
println!("install");
|
||||||
|
}
|
||||||
|
|
||||||
|
pub(crate) fn uninstall()
|
||||||
|
{
|
||||||
|
println!("To uninstall a modloader instance, simply delete the directory of the instance.
|
||||||
|
As of right now there is no way to uninstall an instance with the moddah CLI.
|
||||||
|
");
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue