Skip to content

feat: Simplify the usage of CLI by improving UX #33

Description

@amiv1

Feature description

I'd like to open a discussion regarding the UX direction of this tool. This was kind of already discussed in the original project but it didn't lead to anything in the end. I hope maintainers of Morphe would see benefit in having a CLI tool comparable to the morphe-manager in terms of usability for those who want to patch APKs on a PC.

Here are some improvements the CLI tool could make:

  • It could prioritise working with official Morphe patches by downloading the latest ones automatically. Anyone who wants to use custom/non-official patch bundles can do so by explicitly specifying it in the command arguments.
  • The --purge option should be the default.
  • The keystore could be automatically stored in a directory within the user’s home directory depending on the platform.
  • The tool could be interactive, so a user can select what patches to disable.

Is this a good idea? I’m open to contributing by implementing some or all parts of this if the maintainers are on board.

Motivation

As a morphe-cli tool user, I’d appreciate a simple and easy way to apply official patches from morphe-patches to my application with reusable signing key and without cluttering my filesystem with temporary files in the process.

This is what motivated me to create a shell script that provides a simple interface: ./morphe-patch.sh app.apk.

For most use cases, practically nothing else is needed from the tool. I simply take an APK, input it into the tool and receive a patched version as an output.

Acknowledgements

  • I have checked all open and closed feature requests and this is not a duplicate.
  • I have chosen an appropriate title.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions