1
mirror of https://github.com/revanced/revanced-cli synced 2025-11-19 15:33:27 +01:00

Compare commits

...

2 Commits

Author SHA1 Message Date
semantic-release-bot
0a52180431 chore(release): 1.7.0 [skip ci]
# [1.7.0](https://github.com/revanced/revanced-cli/compare/v1.6.3...v1.7.0) (2022-06-21)

### Features

* show description when listing patches ([af32572](af32572f29))
2022-06-21 22:05:10 +00:00
bogadana
af32572f29 feat: show description when listing patches 2022-06-22 00:03:48 +02:00
3 changed files with 10 additions and 2 deletions

View File

@@ -1,3 +1,10 @@
# [1.7.0](https://github.com/revanced/revanced-cli/compare/v1.6.3...v1.7.0) (2022-06-21)
### Features
* show description when listing patches ([af32572](https://github.com/revanced/revanced-cli/commit/af32572f29d0f0a45ee5c3e01ba4cf1f91fe2f10))
## [1.6.3](https://github.com/revanced/revanced-cli/compare/v1.6.2...v1.6.3) (2022-06-21)

View File

@@ -1,2 +1,2 @@
kotlin.code.style = official
version = 1.6.3
version = 1.7.0

View File

@@ -4,6 +4,7 @@ import app.revanced.cli.patcher.Patcher
import app.revanced.cli.signing.Signing
import app.revanced.patcher.PatcherOptions
import app.revanced.patcher.extensions.PatchExtensions.patchName
import app.revanced.patcher.extensions.PatchExtensions.description
import app.revanced.patcher.util.patch.implementation.JarPatchBundle
import app.revanced.utils.adb.Adb
import picocli.CommandLine.*
@@ -79,7 +80,7 @@ internal object MainCommand : Runnable {
override fun run() {
if (args.lArgs?.listOnly == true) {
for (patchBundlePath in args.patchBundles) for (patch in JarPatchBundle(patchBundlePath).loadPatches()) {
println("[available] ${patch.patchName}")
println("[available] ${patch.patchName}: ${patch.description}")
}
return
}