I am trying to decompile a file using Storyyeller/Krakatau decompiler. I have already downloaded the relevant file and placed it inside a folder. I tried decompile the file using below syntax using command prompt.
=== Decompilation ===
Usage:
python Krakatau\decompile.py [-nauto] [-path PATH] [-out OUT] [-r] [-skip]
target
PATH: An optional list of directories, jars, or zipfiles to search for
classes in. Krakatau will attempt to automatically detect and add the
jar containing core language classes, but you can disable this with
the -nauto
option. For multiple jars, you can either pass a semicolon
seperated list of jars or pass the -path
option multiple times.
OUT: Directory name where source files are to be written. Defaults to the current directory. If the name ends in .zip or .jar, the output will be a zip file instead.
-r: Decompiles all .class files found in the directory target (recursively)
-skip: Continue upon errors. If an error occurs while decompiling a specific method, the trace back will be printed as comments in the source file. If the error occurs while decompiling at the class level, no source file will be emitted and an error message will be printed to the console.
target: Class name or jar name to decompile. If a jar is specified, all
classes in the jar will be decompiled. If -r
is specified, this should
be a directory.
But I always get errors.I don't understand the above syntax.
Please explain this syntax
python Krakatau\decompile.py [-nauto] [-path PATH] [-out OUT] [-r] [-skip]
target
using a simple example.