Add help dialog

This commit is contained in:
Maxwell Jeffress 2024-09-11 13:24:42 +10:00
parent ea5bb86f7e
commit 75b49147df

View File

@ -97,5 +97,19 @@ suspend fun main(args: Array<String>) {
val userInput = args[1] val userInput = args[1]
val file = File(userInput) val file = File(userInput)
println("Checksum of that file is ${md5(file.readText())}") 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")
} }
} }