Looking at the source code, the sets 'opts' as a dict - but does not use it any further.
Was the intention to allow defining some tokens from the command line?
Example:
@main
hello {name}
$ tproc --define name=bill test.tp
...
value = eval(value_string, self._namespace)
File "", line 1, in
NameError: name 'name' is not defined
Looking at the source code, the sets 'opts' as a dict - but does not use it any further.
Was the intention to allow defining some tokens from the command line?
Example:
@main
hello {name}
$ tproc --define name=bill test.tp
...
value = eval(value_string, self._namespace)
File "", line 1, in
NameError: name 'name' is not defined