aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/sdp.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/sdp.org')
-rw-r--r--org/sdp.org16
1 files changed, 14 insertions, 2 deletions
diff --git a/org/sdp.org b/org/sdp.org
index 2f58357..f813c5d 100644
--- a/org/sdp.org
+++ b/org/sdp.org
@@ -230,6 +230,8 @@ bool[string] opts = [
"sisupod" : false,
"source" : false,
"sqlite" : false,
+ "sqlite-create" : false,
+ "sqlite-drop" : false,
"text" : false,
"verbose" : false,
"xhtml" : false,
@@ -266,6 +268,8 @@ auto helpInfo = getopt(args,
"qrcode", "--qrcode with document metadata", &opts["qrcode"],
"sisupod", "--sisupod sisupod source content bundled", &opts["sisupod"],
"source", "--source markup source text content", &opts["source"],
+ "sqlite-create", "--sqlite-create create db, create tables", &opts["sqlite-create"],
+ "sqlite-drop", "--sqlite-drop drop tables & db", &opts["sqlite-drop"],
"sqlite", "--sqlite process sqlite output", &opts["sqlite"],
"text", "--text process text output", &opts["text"],
"txt", "--txt process text output", &opts["text"],
@@ -318,7 +322,15 @@ auto conf_settings_aa = confsdl.configSettingsSDLangToAAmake(sdl_root_configurat
auto conf_doc_make_aa = confsdl.documentMakeSDLangToAAmake(sdl_root_doc_make);
#+END_SRC
-** _2a. processing: loop each file_ [+2] :loop:files:
+** 2a. actions independed of processing files
+#+NAME: sdp_do_selected
+#+BEGIN_SRC d
+if (!(opts["skip-output"])) {
+ outputHubOp!()(opts);
+}
+#+END_SRC
+
+** _2b. processing: loop each file_ [+2] :loop:files:
*** scope (loop) :scope:
#+NAME: sdp_each_file_do_scope
@@ -412,7 +424,7 @@ scope(exit) {
}
#+END_SRC
-** 2b. no filename provided
+** +2c. no valid filename provided+
#+NAME: sdp_no_filename_provided
#+BEGIN_SRC d
/+ no recognized filename provided +/