Re: [staf-users] A first shot at a self-documenting parser interface

2010-06-24 Thread jander...@talentex.co.uk
I'm not quite sure; that is one of the things I hope perhaps to get some inspiration for here. The coding isn't too hard, but how should it look? Since there is not information in the parser about what type of parameters are allowed, they will just have to be something like "" for mandatory and

Re: [staf-users] A first shot at a self-documenting parser interface

2010-06-22 Thread Sharon Lucas
Hi, Thanks for looking into this. It would be nice to have a way to automatically generate the help text for STAF service requests. The STAFCommandParser lets you specify the following: 1) The valid command options 2) The number of times an option may be specified (0 is unlimited) 3) If there i