Comparing version
@@ -49,3 +49,3 @@ #!/usr/bin/env node | ||
const opts = (0, _minimist.default)(process.argv.slice(2), { | ||
string: ['proxy', 'session-id'], | ||
string: ['proxy', 'session-id', 'transport'], | ||
boolean: ['allow-unauthorized', 'help', 'read-only', 'verbose'], | ||
@@ -58,3 +58,4 @@ alias: { | ||
'read-only': 'ro', | ||
verbose: 'v' | ||
verbose: 'v', | ||
transport: 't' | ||
} | ||
@@ -93,3 +94,4 @@ }); | ||
readOnly: opts.ro, | ||
syncStackTraces: true | ||
syncStackTraces: true, | ||
transport: opts.transport || undefined | ||
}); | ||
@@ -96,0 +98,0 @@ await xapi.connect(); |
{ | ||
"private": false, | ||
"name": "xen-api", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"license": "ISC", | ||
@@ -6,0 +6,0 @@ "description": "Connector to the Xen API", |
Sorry, the diff of this file is not supported yet
177775
0.14%1506
0.13%