abcmerge command stub

This commit is contained in:
Jindra Petřík
2024-01-21 16:26:04 +01:00
parent 5d7af43805
commit a9f339e5e6
2 changed files with 48 additions and 1 deletions

View File

@@ -0,0 +1,46 @@
package com.jpexs.decompiler.flash.cli.commands;
import com.jpexs.decompiler.flash.cli.VersionProvider;
import com.jpexs.decompiler.flash.cli.commands.types.CompressionKind;
import picocli.CommandLine;
import picocli.CommandLine.Command;
import picocli.CommandLine.Option;
import picocli.CommandLine.Parameters;
import picocli.CommandLine.ParentCommand;
/**
*
* @author JPEXS
*/
@Command(
name = "abcmerge",
mixinStandardHelpOptions = true,
versionProvider = VersionProvider.class,
header = "Merge all ABC tags in SWF file to one",
parameterListHeading = "%n@|bold,underline Parameters|@:%n",
synopsisHeading = "@|bold,underline Usage|@:",
footerHeading = "%n@|bold,underline Example|@:%n",
footer = {
"ffdec-cli abcmerge input.swf output.swf",
}
)
public class AbcMerge implements Runnable {
@Parameters(
index = "0",
paramLabel = "IN_FILE",
description = "Input file"
)
String inFile;
@Parameters(
index = "1",
paramLabel = "OUT_FILE",
description = "Output file"
)
String outFile;
@Override
public void run() {
}
}

View File

@@ -58,7 +58,8 @@ import picocli.CommandLine.ScopeType;
GenerateDoc.class,
InstanceMetadata.class,
LinkReport.class,
Swf2Swc.class
Swf2Swc.class,
AbcMerge.class
},
descriptionHeading = "%n@|bold,underline Description|@:%n",
optionListHeading = "%n@|bold,underline Options|@:%n",