Menu

#266 Allow llines to be run with commands from stdin

Feature_Request
open
nobody
None
5
2008-08-22
2008-08-22
No

Allow llines to be run with commands read from standard input. This would for example allow to call llines from a script to produce a set of reports without any user interaction.

Benefits

1. automized testing of llines and reports!
2. automized script based creation of reports
3. use llines as a php-script on a website (hey, that's cool isn't it ;-?)

Example

prompt> llines -d DataBasePath <myinput.lls

The file myinput.lls could look like this:
---- start of file ----
r
myreport
I1
testfile.ps
---- end of file ----

This would call "Create Report" from the main menu, enter "myreport" as the report name, answering the question for an individual to run the report for with "I1" and specify and output file as "testfile.ps". After creating the report lifelines should exit with a 0 code for no error or an error code if something went wrong.

Discussion

  • elsapo

    elsapo - 2008-10-11

    This doesn't appear to be a bug report?

     
  • Dr. Schorsch

    Dr. Schorsch - 2008-10-11

    No, it is a feature request as you can see in "Group". Unfortunately I did not file it into the feature request tracker. Sorry for that...

     

Log in to post a comment.