Skip to content

feat: Add --out file output parameter to list-patches command #56

@Sappurit

Description

@Sappurit

Feature description

Add --patches and --out to the list-patches command will be great. It will be the same pattern for all commands.

Since you added options-create to morphe-cli-1.4.0-dev.6-all.jar
Why not use the same options pattern for the list-patches too?
Some environments, we can't use > redirection stdout to text file.

eg.

java -jar morphe-cli-all.jar options-create --patches=patches.mpp --out=options.json
java -jar morphe-cli-all.jar list-patches   --patches=patches.mpp --out=list.txt
java -jar morphe-cli-all.jar patch --patches=patches.mpp --out=xxx.apk
  -f, --filter-package-name=<packageName>
                            Filter patches by compatible package name.

  -i, --index               List the index of each patch in relation to the
                              supplied MPP files.
                              Default: true

  -o, --out=<outputFile>    Path to the output TEXT file.

  -p, --patches=<patchesFile>
                            One or more paths to MPP files.

      --with-descriptions   List their descriptions.
                              Default: true

      --with-options        List the options of the patches.
                              Default: false

      --with-packages       List the packages the patches are compatible with.
                              Default: false

      --with-universal-patches
                            List patches which are compatible with any app.
                              Default: true

      --with-versions       List the versions of the apps the patches are
                              compatible with.
                              Default: false

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions