aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/sdp.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-07-04 07:44:30 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commit9fb34dbc4b06356402c0e1d15496ad7564237186 (patch)
treeddd766081692e82ff96ecf7b406dd6e68cee8d8f /src/sdp/sdp.d
parentregex minor additions (diff)
output_hub sqlite introduce structure
Diffstat (limited to 'src/sdp/sdp.d')
-rwxr-xr-xsrc/sdp/sdp.d8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/sdp/sdp.d b/src/sdp/sdp.d
index 60d56f9..891c23f 100755
--- a/src/sdp/sdp.d
+++ b/src/sdp/sdp.d
@@ -78,6 +78,8 @@ void main(string[] args) {
"sisupod" : false,
"source" : false,
"sqlite" : false,
+ "sqlite-create" : false,
+ "sqlite-drop" : false,
"text" : false,
"verbose" : false,
"xhtml" : false,
@@ -114,6 +116,8 @@ void main(string[] 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"],
@@ -152,7 +156,9 @@ void main(string[] args) {
auto confsdl = HeaderExtractSDL();
auto conf_settings_aa = confsdl.configSettingsSDLangToAAmake(sdl_root_configuration);
auto conf_doc_make_aa = confsdl.documentMakeSDLangToAAmake(sdl_root_doc_make);
-
+ if (!(opts["skip-output"])) {
+ outputHubOp!()(opts);
+ }
if (fns_src.length > 0) {
foreach(fn_src; fns_src) {
if (!empty(fn_src)) {