A document-oriented tool that contains a Tcl-inspired language
See https://github.com/now-run/now .
[An Example Document]
This text is the description of this document.
[Sections]
A document is divided into sections, just like an .ini file. Sections
whose title starts with a capital letter are considered "text" and are
basically free-to-write.
[commands/hello]
description "Say hello to someone"
parameters {
who {
type string
default "World"
}
}
print "Hello, ${who}!"Save the above example as Nowfile and then call now.
You'll see the following in your terminal:
> now
An Example Document
This text is the description of this document.
hello --------------> Say hello to someone
who : string = World