[twill] passing parameters to twill scripts

Titus Brown titus at caltech.edu
Thu Mar 9 13:37:49 PST 2006


-> Is there a way (or are there plans) to pass parameters to a twill script?
-> 
-> For instance I would like to pass to the script the URL to start with;
-> for instance
-> it could be http://my-site-devel.com or http://my-site-test.com or 
-> http://my-site-prod.com.
-> 
-> I would expect a bash-like syntax:
-> 
-> $ cat test.twill
-> go $1
-> echo 'done!'
-> 
-> $ twill-sh test.twill http://my-site-devel.com

Well, this is a use case that's well taken care of ;)

	twill-sh -u http://my-site-devel.com/ test.twill

I don't have any problem with putting this in, though.

--titus



More information about the twill mailing list