leibnitz27 / cfr

This is the public repository for the CFR Java decompiler
https://www.benf.org/other/cfr
MIT License
1.93k stars 249 forks source link

Argument for detecting the classpath directly from a jar #278

Closed DalekCraft2 closed 2 years ago

DalekCraft2 commented 2 years ago

Problem solved by this feature

Filling out the --extraclasspath argument or moving class/jar files to a specific directory is tedious.

Feature description

Put simply, it would be very convenient if CFR could read the classpath of a jar directly from the manifest, so we would not have to do what I said above. Adding an argument like --detectclasspath with that feature would be nice. It should probably only detect the classpath from the file what is being decompiled, unless doing it for every jar in the classpath is easy, which I doubt.

Considerations

Alternatives