From c1c32688a4afc43f6addb99b8b5fa878944a70e3 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 14 Jan 2019 15:42:48 -0800 Subject: Overhaul in progress, mostly working. Moved all the nomsu packages into lib/, including core/*. Changes to how nomsu environments and importing work. --- lib/commandline/init.nom | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lib/commandline/init.nom (limited to 'lib/commandline/init.nom') 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 -- cgit v1.2.3