unhide 'triton completion'
This commit is contained in:
parent
01dc55e93f
commit
fb8aec6229
@ -2,6 +2,8 @@
|
||||
|
||||
## 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
|
||||
"metadata.credentials" in instance listing.
|
||||
|
||||
|
@ -192,6 +192,7 @@ function CLI() {
|
||||
},
|
||||
helpSubcmds: [
|
||||
'help',
|
||||
'completion',
|
||||
'profile',
|
||||
{ group: 'Instances (aka VMs/Machines/Containers)' },
|
||||
'instance',
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright 2015 Joyent, Inc.
|
||||
* Copyright 2016 Joyent, Inc.
|
||||
*
|
||||
* `triton completion ...`
|
||||
*/
|
||||
@ -46,10 +46,11 @@ do_completion.options = [
|
||||
}
|
||||
];
|
||||
do_completion.help = [
|
||||
'Output bash completion code for the `triton` CLI.',
|
||||
'Output bash completion. See help output for 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:',
|
||||
' {{name}} completion > ~/.{{name}}.completion',
|
||||
@ -57,6 +58,5 @@ do_completion.help = [
|
||||
'',
|
||||
'{{options}}'
|
||||
].join('\n');
|
||||
do_completion.hidden = true;
|
||||
|
||||
module.exports = do_completion;
|
||||
|
Reference in New Issue
Block a user