decrypt command stubs

This commit is contained in:
Jindra Petřík
2024-01-20 23:14:46 +01:00
parent cfcc434be7
commit b0570fc58a
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 = "decrypt",
mixinStandardHelpOptions = true,
versionProvider = VersionProvider.class,
header = "Decrypt HARMAN Air encrypted SWF file",
parameterListHeading = "%n@|bold,underline Parameters|@:%n",
synopsisHeading = "@|bold,underline Usage|@:",
footerHeading = "%n@|bold,underline Example|@:%n",
footer = {
"ffdec-cli decrypt input.swf out_decrypted.swf",
}
)
public class Decrypt 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

@@ -41,7 +41,8 @@ import picocli.CommandLine.ScopeType;
Export.class,
Dump.class,
Compress.class,
Decompress.class
Decompress.class,
Decrypt.class
},
descriptionHeading = "%n@|bold,underline Description|@:%n",
optionListHeading = "%n@|bold,underline Options|@:%n",