基本完成26.05
This commit is contained in:
1 parent
7a3f8b0e81
commit
2209d74d7e
260 files changed
+25813
-8522
No files matched your search
@@ -40,7 +40,10 @@ export async function match_sub_command_to_function(
|
||||
if (options.sign_pdf) {
|
||||
console.log("Signing PDF...");
|
||||
|
||||
await sign_pdf();
|
||||
// Pass optional passphrase from CLI options (e.g. --sign-passphrase)
|
||||
const passphrase = options.sign_passphrase ?? options.passphrase ??
|
||||
undefined;
|
||||
await sign_pdf(passphrase);
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in new issue
Block a user