ZPM - silent mode ?
Hi,
I'm looking for a way to run ZPM (especially install) in a total silent mode with no output.
I tried -quiet flag but it continues to chat to me like my wife.
Same result for both ways :
USER>zpm
zpm: USER>install -q native-api-objectscript
USER>set sc=##class(%ZPM.PackageManager).Shell("install -q native-api-objectscript")
[native-api-objectscript] Reload START
[native-api-objectscript] Reload SUCCESS
[native-api-objectscript] Module object refreshed.
[native-api-objectscript] Validate START
[native-api-objectscript] Validate SUCCESS
[native-api-objectscript] Compile START
[native-api-objectscript] Compile SUCCESS
[native-api-objectscript] Activate START
[native-api-objectscript] Configure START
[native-api-objectscript] Configure SUCCESS
[native-api-objectscript] Activate SUCCESS
USER>
Background for this request:
All variations of IRIS Native API for { Node.js, Java, Python, .Net, Objectscript }
contain a Class IRIS with a more or less identic method ClassMethodValue(classname,classmethod,params...)
This could be a quite comfortable way to run ZPM install on various servers, various namespaces
and skipping the repeated "connect - login to terminal - run zpm " procedure.
But I'm open for proposals to distribute code on multiple servers differently.