mirror of
https://github.com/revanced/revanced-cli.git
synced 2024-12-13 05:37:45 +01:00
chore: cleanup code
This commit is contained in:
parent
1781612789
commit
c272d55e2d
@ -11,10 +11,11 @@ import java.io.File
|
|||||||
import java.nio.file.Files
|
import java.nio.file.Files
|
||||||
|
|
||||||
@Command(
|
@Command(
|
||||||
name = "ReVanced-CLI", version = ["1.0.0"], mixinStandardHelpOptions = true,
|
name = "ReVanced-CLI",
|
||||||
|
version = ["1.0.0"],
|
||||||
|
mixinStandardHelpOptions = true
|
||||||
)
|
)
|
||||||
internal object MainCommand : Runnable {
|
internal object MainCommand : Runnable {
|
||||||
|
|
||||||
@ArgGroup(exclusive = false, multiplicity = "1")
|
@ArgGroup(exclusive = false, multiplicity = "1")
|
||||||
lateinit var args: Args
|
lateinit var args: Args
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ import java.nio.file.Files
|
|||||||
|
|
||||||
internal object Patcher {
|
internal object Patcher {
|
||||||
internal fun start(patcher: app.revanced.patcher.Patcher, output: File) {
|
internal fun start(patcher: app.revanced.patcher.Patcher, output: File) {
|
||||||
val args = args.pArgs!!
|
val args = args.pArgs!!
|
||||||
|
|
||||||
// merge files like necessary integrations
|
// merge files like necessary integrations
|
||||||
patcher.mergeFiles()
|
patcher.mergeFiles()
|
||||||
|
Loading…
Reference in New Issue
Block a user