增加了自动openpgp签名选项,修改了打印版本的样式
This commit is contained in:
1 parent
59a5400fe1
commit
7a3f8b0e81
51 files changed
+1176
-419
No files matched your search
@@ -1,7 +1,9 @@
|
||||
import { OpenPGPSigner } from "../pdf_builder/builder.ts";
|
||||
import {
|
||||
add_index_to_pdf,
|
||||
generate_md,
|
||||
generate_pdf,
|
||||
sign_pdf,
|
||||
use_qpdf,
|
||||
} from "./handlers.ts";
|
||||
|
||||
@@ -34,6 +36,12 @@ export async function match_sub_command_to_function(
|
||||
if (options.use_qpdf) {
|
||||
await use_qpdf();
|
||||
}
|
||||
|
||||
if (options.sign_pdf) {
|
||||
console.log("Signing PDF...");
|
||||
|
||||
await sign_pdf();
|
||||
}
|
||||
break;
|
||||
|
||||
case "md":
|
||||
|
||||
Reference in new issue
Block a user