Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Interactive shell script #307

Open
3 tasks done
oSumAtrIX opened this issue Dec 12, 2023 · 14 comments
Open
3 tasks done

feat: Interactive shell script #307

oSumAtrIX opened this issue Dec 12, 2023 · 14 comments
Assignees
Labels
Feature request Requesting a new feature

Comments

@oSumAtrIX
Copy link
Member

Feature description

Add bash and CMD scripts that simplify and automate the usage of ReVanced CLI.

Motivation

Scripts will simplify the usage and improve automation. This will be useful in environments where a short setup is necessary to use ReVanced CLI.

Acknowledgements

  • This issue is not a duplicate of an existing feature request.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.
@oSumAtrIX oSumAtrIX added the Feature request Requesting a new feature label Dec 12, 2023
@oSumAtrIX oSumAtrIX self-assigned this Dec 12, 2023
@gim-
Copy link
Sponsor

gim- commented Dec 18, 2023

Yes, some ways to simplify CLI usage is definetely needed.

I'm not entirely sure why revanced-patches and revanced-integrations aren't part of the CLI package. I'd say in most use cases they're both required to patch APKs so you might as well include them automatically.

I've created my own shell script to utilize ReVanced CLI. It's available in Gist in case anyone's interested - https://gist.github.com/gim-/75481a6fb43b7f8d09aa73fd02e5fe8a

@oSumAtrIX
Copy link
Member Author

ReVanced CLI is agnostic to any app and patch

@gim-
Copy link
Sponsor

gim- commented Dec 18, 2023

ReVanced CLI is agnostic to any app and patch

Why though? Are there any patches apart from revanced-patches available which people might be using?

@oSumAtrIX
Copy link
Member Author

Because it is by design featured to supply a combination of patch bundles and patch any app

@Ushie
Copy link
Member

Ushie commented Dec 18, 2023

ReVanced CLI is agnostic to any app and patch

Why though? Are there any patches apart from revanced-patches available which people might be using?

Yes, ReVanced Patches aren't the only ones supported, I can make my own if I wanted to

The reason there aren't many non-official bundles is the lack of support in ReVanced Manager, but ReVanced Manager v2 will add support for it

@CoolnsX
Copy link

CoolnsX commented Jul 28, 2024

@oSumAtrIX
Copy link
Member Author

@CoolnsX
Copy link

CoolnsX commented Jul 28, 2024

Bruh it can be made into anything, I m giving something to start from

@CoolnsX
Copy link

CoolnsX commented Jul 28, 2024

Will little curl and some logic, u can fetch the list of apps supported by revanced-cli

@oSumAtrIX
Copy link
Member Author

Downloading apps is no business logic ReVanced CLI is involving. The scripts are supposed to simply run common commands form ReVanced CLI and not extend it with additional features.

@CoolnsX
Copy link

CoolnsX commented Jul 28, 2024

In that case, make an elaborate docs

@oSumAtrIX
Copy link
Member Author

oSumAtrIX commented Jul 28, 2024

I am already assigned to the issue. I won't waste time on writing down what I know I need to do already. Docs are present in docs/

@CoolnsX
Copy link

CoolnsX commented Jul 29, 2024

and it's taking this much time, when it's only 2-3 hours work max

@oSumAtrIX
Copy link
Member Author

That doesn't matter, I work on other more important things. If you want it quicker you'll have to familiarize yourself with the designs and concepts and implement it yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request Requesting a new feature
Projects
None yet
Development

No branches or pull requests

4 participants