joyent/node-triton#73 triton instance list --credentials
to include "metadata.credentials" in instance listing
This commit is contained in:
parent
09954b3f55
commit
01dc55e93f
@ -2,6 +2,9 @@
|
||||
|
||||
## 4.1.0 (not yet released)
|
||||
|
||||
- [joyent/node-triton#73] `triton instance list --credentials` to include
|
||||
"metadata.credentials" in instance listing.
|
||||
|
||||
- node-triton#35 More easily distinguish KVM and LX and Docker images and
|
||||
instances.
|
||||
|
||||
|
@ -65,6 +65,9 @@ function do_list(subcmd, opts, args, callback) {
|
||||
callback(e);
|
||||
return;
|
||||
}
|
||||
if (opts.credentials) {
|
||||
listOpts.credentials = true;
|
||||
}
|
||||
|
||||
|
||||
var imgs;
|
||||
@ -143,6 +146,13 @@ do_list.options = [
|
||||
names: ['help', 'h'],
|
||||
type: 'bool',
|
||||
help: 'Show this help.'
|
||||
},
|
||||
{
|
||||
names: ['credentials'],
|
||||
type: 'bool',
|
||||
help: 'Include generated credentials, in the "metadata.credentials" ' +
|
||||
'keys, if any. Typically used with "-j", though one can show ' +
|
||||
'values with "-o metadata.credentials".'
|
||||
}
|
||||
].concat(common.getCliTableOptions({
|
||||
includeLong: true,
|
||||
|
Reference in New Issue
Block a user