You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Like in Python docopt, runtime gets arguments as words (or in an args block for instance, as in args.filename, or args.optlevel, etc.) How the usage should be parsed out I have no idea at the moment, but it's perfectly doable of course. The syntax is yet to be clarified.
nolayout
hello.nk
---
Some help message stuff...
Usage:
-- <filename> [optlevel]
Some more help message stuff...
And in hello.nk for instance:
'Filename: ' args.filename ~ echo
args.optlevel? => [ 'Optlevel:' _ echo ]
"It'd be nice to automatically define ( -- V true / false ) to get the Value of an optional parameter"
The text was updated successfully, but these errors were encountered:
Like in Python docopt, runtime gets arguments as words (or in an
args
block for instance, as inargs.filename
, orargs.optlevel
, etc.) How the usage should be parsed out I have no idea at the moment, but it's perfectly doable of course. The syntax is yet to be clarified.And in
hello.nk
for instance:The text was updated successfully, but these errors were encountered: