Issue 466: SkylineRunner scriptability improvements: version number and help info from commandline, and non-zero exit code on error

issues
Status:open
Assigned To:Brendan MacLean
Type:Defect
Area:Skyline
Priority:2
Milestone:4.1
Opened:2016-04-25 by Brian Pratt
Changed:2019-09-15 by Brendan MacLean
Resolved:
Resolution:
Closed:
2016-04-25 Brian Pratt
Title»SkylineRunner scriptability improvements: version number and help info from commandline, and non-zero exit code on error
Assigned To»kaipot@u.washington.edu
Type»Defect
Area»Skyline
Priority»3
Milestone»3.6
This comes from issues
"SkylineRunner: Add Ability to Return Version and Help Information"
https://skyline.gs.washington.edu/labkey/announcements/home/support/thread.view?rowId=26060
and
"SkylineRunner Needs to Return a Non-zero Value For Errors"
https://skyline.gs.washington.edu/labkey/announcements/home/support/thread.view?rowId=26059
and this email thread:

Hi Brian,
Please enter an issue and assign to Kaipo. Version should be easy and help should simply show the current PDF in a browser. That means we probably need to start storing versioned PDF files on the Skyline server, and change the URL every time we change the document. Luckily the documentation is in SVN with the source that will reference it.


--Brendan

On Fri, Apr 22, 2016 at 10:08 AM, Brian Pratt <bspratt@proteinms.net> wrote:
While your recent work is still loaded up in your head, how hard to get this done? I do think it's a pretty fundamental thing for us to have left out.

---------- Forwarded message ----------
From: <skyline@proteinms.net>
Date: Sun, Apr 17, 2016 at 2:28 PM
Subject: SkylineRunner: Add Ability to Return Version and Help Information
To: bspratt@proteinms.net


michael creech created a new request.    2016-04-17 14:28
When SkylineRunner is called with no arguments, it just returns with no message making it unclear on whether it is working properly.
  
I suggest either returning some version information or, more standard, print some help information about using SkylineRunner. This could be by listing SkylineRunner?s options, or specifying to ?use ??help? to see program argument options?.
  
Independent of the no argument issue, I also recommend you add a "?version? and ??help? option.
 
View this request

2016-07-07 Brendan MacLean
Priority3»2

2017-09-21 Kaipo
Milestone3.6»4.1
Nick and Vagisha have taken care of non-zero exit code for SkylineCmd and SkylineRunner respectively.

Just need the version number part now.

2019-09-15 Brendan MacLean
Assigned ToKaipo»Brendan MacLean