custom command line arguments

Hi all,

is Natron able to access custom commandline arguments?
I.e. In Nuke I can use “[argvn]” as a tcl expression in the script to access any number of command line arguments that may have been give on startup, something we use for pipeline automation and tempalted workflows. I’d love to use Natron the same way.
E.g. I’d like to pass several strings and numbers into a Natron project via command line to control arbitrary values like the message of a Text node, various file paths etc.
How woudl I go about this best?

The brute force approach would be to parse the xml file manually before opening/rendering it, but I am hoping there is a more elegant way.


I solved this now by using the -c flag to define arbitrary python variables which I then use in the template.