aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/spine.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2020-04-14 15:48:25 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2020-05-20 11:27:26 -0400
commit3cceed4af466d11e0735246bbd09f8451f6f9383 (patch)
tree7b38bffe46a1d913faaebdfac4b95466846038ea /org/spine.org
parenttrust more, else minor (diff)
cgi search form: path; theme; download remote src
- config output path - dark theme - allow downloads flag for download of remote file cgi.d
Diffstat (limited to 'org/spine.org')
-rw-r--r--org/spine.org6
1 files changed, 5 insertions, 1 deletions
diff --git a/org/spine.org b/org/spine.org
index f6dd0b2..bd8437a 100644
--- a/org/spine.org
+++ b/org/spine.org
@@ -429,7 +429,8 @@ string[string] settings = [
#+BEGIN_SRC d
auto helpInfo = getopt(args,
std.getopt.config.passThrough,
- "abstraction", "document abstraction ", &opts["abstraction"],
+ "abstraction", "document abstraction", &opts["abstraction"],
+ "allow-downloads", "allow downloads (includes cgi.d from github)", &opts["allow-downloads"],
"assert", "set optional assertions on", &opts["assertions"],
"cgi-search-form-codegen", "generates (pre-compiled) d code for search of specified db", &opts["cgi-search-form-codegen"],
"cgi-sqlite-search-filename", "=[filename]", &settings["cgi-sqlite-search-filename"],
@@ -507,6 +508,9 @@ if (helpInfo.helpWanted) {
#+BEGIN_SRC d
enum outTask { source_or_pod, sqlite, sqlite_multi, latex, odt, epub, html_scroll, html_seg, html_stuff }
struct OptActions {
+ @trusted bool allow_downloads() {
+ return opts["allow-downloads"];
+ }
@trusted bool assertions() {
return opts["assertions"];
}