Open-source multiplayer game server compatible with the RuneScape client
https://www.openrs2.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
836 B
29 lines
836 B
package dev.openrs2.compress.cli
|
|
|
|
import com.github.ajalt.clikt.core.CliktCommand
|
|
import com.github.ajalt.clikt.core.subcommands
|
|
import dev.openrs2.compress.cli.bzip2.Bunzip2Command
|
|
import dev.openrs2.compress.cli.bzip2.Bzip2Command
|
|
import dev.openrs2.compress.cli.deflate.DeflateCommand
|
|
import dev.openrs2.compress.cli.deflate.InflateCommand
|
|
import dev.openrs2.compress.cli.gzip.GunzipCommand
|
|
import dev.openrs2.compress.cli.gzip.GzipCommand
|
|
|
|
fun main(args: Array<String>) = CompressCommand().main(args)
|
|
|
|
class CompressCommand : CliktCommand(name = "compress") {
|
|
init {
|
|
subcommands(
|
|
Bzip2Command(),
|
|
Bunzip2Command(),
|
|
DeflateCommand(),
|
|
InflateCommand(),
|
|
GzipCommand(),
|
|
GunzipCommand()
|
|
)
|
|
}
|
|
|
|
override fun run() {
|
|
// empty
|
|
}
|
|
}
|
|
|