From 75b49147df41dea75f99fb43c2b39b17daca75d8 Mon Sep 17 00:00:00 2001 From: Maxwell Jeffress Date: Wed, 11 Sep 2024 13:24:42 +1000 Subject: [PATCH] Add help dialog --- src/main/kotlin/Main.kt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/main/kotlin/Main.kt b/src/main/kotlin/Main.kt index 3495217..34b4b03 100644 --- a/src/main/kotlin/Main.kt +++ b/src/main/kotlin/Main.kt @@ -97,5 +97,19 @@ suspend fun main(args: Array) { val userInput = args[1] val file = File(userInput) println("Checksum of that file is ${md5(file.readText())}") + } else { + println("mapm - Max's Package Manager") + println("Version 0.0.2") + println("(C) Maxwell Jeffress 2024, licensed under the GNU GPL V3") + println("") + println("---Help---") + println("Arguments that can be run") + println("g Grab a package from the internet") + println("r Remove a package") + println("c Generate a checksum for a package") + println("") + println("More info at the following links:") + println("https://maxwellj.xyz/mapm") + println("https://git.maxwellj.xyz/max/mapm") } }