mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-11 18:08:28 +00:00
linkreport command stub
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
package com.jpexs.decompiler.flash.cli.commands;
|
||||
|
||||
import com.jpexs.decompiler.flash.cli.VersionProvider;
|
||||
import com.jpexs.decompiler.flash.cli.commands.types.CompressionKind;
|
||||
import com.jpexs.decompiler.flash.cli.commands.types.ReplaceFormat;
|
||||
import java.util.List;
|
||||
import picocli.CommandLine;
|
||||
import picocli.CommandLine.Command;
|
||||
import picocli.CommandLine.Option;
|
||||
import picocli.CommandLine.Parameters;
|
||||
import picocli.CommandLine.ParentCommand;
|
||||
import picocli.CommandLine.ArgGroup;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
@Command(
|
||||
name = "linkreport",
|
||||
mixinStandardHelpOptions = true,
|
||||
versionProvider = VersionProvider.class,
|
||||
header = "Generate linker report for the swffile",
|
||||
optionListHeading = "%n@|bold,underline Options|@:%n",
|
||||
parameterListHeading = "%n@|bold,underline Parameters|@:%n",
|
||||
synopsisHeading = "@|bold,underline Usage|@:",
|
||||
footerHeading = "%n@|bold,underline Examples|@:%n",
|
||||
footer = {
|
||||
"ffdec-cli linkreport input.swf",
|
||||
"ffdec-cli linkreport --out-file=out.xml input.swf"
|
||||
},
|
||||
sortSynopsis = false
|
||||
)
|
||||
public class LinkReport implements Runnable {
|
||||
|
||||
@Option(
|
||||
names = "--out-file",
|
||||
paramLabel = "<outFile>",
|
||||
description = "Saves XML report to <outFile>. When ommited, the report is printed to stdout."
|
||||
)
|
||||
String outFile = null;
|
||||
|
||||
@Parameters(
|
||||
index = "0",
|
||||
paramLabel = "IN_FILE",
|
||||
description = "Input file"
|
||||
)
|
||||
String inFile;
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -56,7 +56,8 @@ import picocli.CommandLine.ScopeType;
|
||||
Deobfuscate.class,
|
||||
EnableDebugging.class,
|
||||
GenerateDoc.class,
|
||||
InstanceMetadata.class
|
||||
InstanceMetadata.class,
|
||||
LinkReport.class
|
||||
},
|
||||
descriptionHeading = "%n@|bold,underline Description|@:%n",
|
||||
optionListHeading = "%n@|bold,underline Options|@:%n",
|
||||
|
||||
Reference in New Issue
Block a user