aboutsummaryrefslogtreecommitdiffstats
path: root/job.yml
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-01-26 19:39:22 +0100
committerJay Berkenbilt <ejb@ql.org>2022-01-30 19:11:03 +0100
commit1258054543d2956081c40b3166e9d5043deb6640 (patch)
tree16e862c888e780f84c45cfa218cdc4c56b80a418 /job.yml
parent901e3e4fbfb22566c44c5ab305c93f70c7b0aa49 (diff)
downloadqpdf-1258054543d2956081c40b3166e9d5043deb6640.tar.zst
QPDFJob: eliminate most access to QPDFJob members from ArgParser
All that's left now is input and output handling.
Diffstat (limited to 'job.yml')
-rw-r--r--job.yml11
1 files changed, 8 insertions, 3 deletions
diff --git a/job.yml b/job.yml
index 1778dd18..171d1981 100644
--- a/job.yml
+++ b/job.yml
@@ -68,6 +68,8 @@ options:
- overlay
- pages
- underlay
+ - empty
+ - replace-input
positional: true
bare:
- add-attachment
@@ -240,6 +242,8 @@ options:
no-json:
- preserve-unreferenced-resources
- job-json-file
+ - empty
+ - replace-input
json:
# The structure of this section defines what the json input to
# QPDFJob looks like. If a key starts with underscore or has a value
@@ -249,16 +253,16 @@ json:
# a "schema" (as in JSON.hh) for the json input to QPDFJob. The
# leading underscore is removed.
_input:
+ # QXXXQ need to figure out how to specify input and output
_file:
_name: "input filename"
main.password:
password-file:
- empty:
+ _empty: "qxxxq empty"
_output:
_file:
_name: "output filename"
- replace-input:
- split-pages:
+ _replace-input: "qxxxq replace input"
_options:
qdf:
preserve-unreferenced:
@@ -280,6 +284,7 @@ json:
min-version:
force-version:
progress:
+ split-pages:
encrypt:
key-length: "key length: 48, 128, 256"
user-password: "user password"