aboutsummaryrefslogtreecommitdiff
path: root/lib/commandline/init.nom
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-01-14 15:42:48 -0800
committerBruce Hill <bruce@bruce-hill.com>2019-01-14 15:43:24 -0800
commitc1c32688a4afc43f6addb99b8b5fa878944a70e3 (patch)
treec886f21b5b08a9053aa74fcba4b241dae5ede76d /lib/commandline/init.nom
parent2309b696fc34b24f05f6658b94f9105ca8ee76e4 (diff)
Overhaul in progress, mostly working. Moved all the nomsu packages into
lib/, including core/*. Changes to how nomsu environments and importing work.
Diffstat (limited to 'lib/commandline/init.nom')
-rw-r--r--lib/commandline/init.nom11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/commandline/init.nom b/lib/commandline/init.nom
new file mode 100644
index 0000000..f28e02b
--- /dev/null
+++ b/lib/commandline/init.nom
@@ -0,0 +1,11 @@
+#
+ A library defining some command line program functionality
+
+(command line program with $args $body) parses as:
+ externally (run with $args) means $body
+ if (this file was run directly):
+ run with (the command line arguments)
+
+externally (usage $) means:
+ say "Usage: \$"
+ exit 1