Hello AutoGen lovers! I want to use AutoOpts for Shell script generation, and in previous letters Bruce already introduced me on how to compile the def-file so a shell script is created.
Now i want to to modify the shell script found at https://github.com/codeless/MyRex/blob/master/myrex.sh to use AutoOpts. Several parameters for this script are forced, but this doesn't seem to work with AutoOpts. For instance: flag = { name = sqlfile; descrip = "SQL file to be executed"; arg-type = file; must-set = true; } I want AutoOpts to check for the parameter "sqlfile", which has to be set and should be checked if it's a valid (existing) file. How to achieve this? Is it possible with AutoOpts for Shell-Scripts? Further on, i want to force the user to pass a directory-path to the script (not as flag); i used: argument = file; Is this the way to go? Thanks for any help!! -Manuel ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Autogen-users mailing list Autogen-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/autogen-users