unhide 'triton completion'
This commit is contained in:
parent
01dc55e93f
commit
fb8aec6229
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
## 4.1.0 (not yet released)
|
## 4.1.0 (not yet released)
|
||||||
|
|
||||||
|
- Unhide `triton completion` so hopefully more find it and use it.
|
||||||
|
|
||||||
- [joyent/node-triton#73] `triton instance list --credentials` to include
|
- [joyent/node-triton#73] `triton instance list --credentials` to include
|
||||||
"metadata.credentials" in instance listing.
|
"metadata.credentials" in instance listing.
|
||||||
|
|
||||||
|
@ -192,6 +192,7 @@ function CLI() {
|
|||||||
},
|
},
|
||||||
helpSubcmds: [
|
helpSubcmds: [
|
||||||
'help',
|
'help',
|
||||||
|
'completion',
|
||||||
'profile',
|
'profile',
|
||||||
{ group: 'Instances (aka VMs/Machines/Containers)' },
|
{ group: 'Instances (aka VMs/Machines/Containers)' },
|
||||||
'instance',
|
'instance',
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright 2015 Joyent, Inc.
|
* Copyright 2016 Joyent, Inc.
|
||||||
*
|
*
|
||||||
* `triton completion ...`
|
* `triton completion ...`
|
||||||
*/
|
*/
|
||||||
@ -46,10 +46,11 @@ do_completion.options = [
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
do_completion.help = [
|
do_completion.help = [
|
||||||
'Output bash completion code for the `triton` CLI.',
|
'Output bash completion. See help output for installation.',
|
||||||
'',
|
'',
|
||||||
'Installation:',
|
'Installation:',
|
||||||
' {{name}} completion > /usr/local/etc/bash_completion.d/{{name}}',
|
' {{name}} completion > /usr/local/etc/bash_completion.d/{{name}} # Mac',
|
||||||
|
' sudo {{name}} completion > /etc/bash_completion.d/{{name}} # Linux',
|
||||||
'',
|
'',
|
||||||
'Alternative installation:',
|
'Alternative installation:',
|
||||||
' {{name}} completion > ~/.{{name}}.completion',
|
' {{name}} completion > ~/.{{name}}.completion',
|
||||||
@ -57,6 +58,5 @@ do_completion.help = [
|
|||||||
'',
|
'',
|
||||||
'{{options}}'
|
'{{options}}'
|
||||||
].join('\n');
|
].join('\n');
|
||||||
do_completion.hidden = true;
|
|
||||||
|
|
||||||
module.exports = do_completion;
|
module.exports = do_completion;
|
||||||
|
Reference in New Issue
Block a user