Open Martin-Zeithaml opened 1 year ago
would love to see this in zowe-install-packaging/bin/utils so people could call it for any reason.
I already have it in c (appox 50 lines, also with the help). Is the zowe-common-c the right repo for that? Because zowe-install-packaging-tools seems to include only JavaScript (non-C) tools.
Example of output & help:
/u/userid/: ./getsp
TSS
/u/userid/: ./getsp -h
getsp - gets the security product name and returns RACF, TSS, ACF2 or Unknown
Format: getsp [-h]
Options:
-h This help
Exit values:
0 for succesful detection
1 otherwise
Executable in zowe-common-c: PR415
Same flavor as #36:
Will return
RCVT
,RTSS
orACF2
.