Script t

Main command line interface to execute library functions

This script has been written in such a way that you should be able to execute moudules in lib by just scoping them on command line For Eg.

$ t sys init

will run the init function in modules.*.sys module iterating over each directory, one at a time

To pass arguments to the functions, you can just append them to the command line and they will appear in order to the library function. For Eg.

$ t sys init hello world

is equivalent to calling:

local sys = require ("modules.diri.sys")
sys.init("hello","world")

for all instances of diri in the modules directory

Need to make documentation more clear



generated by LDoc 1.4.6 Last updated 2021-01-05 19:47:36