joyent/node-triton#99 triton profile set ... alias for set-current

Also add 'triton profile set <TAB>' completion.
This commit is contained in:
Trent Mick 2016-03-02 22:53:32 -08:00
parent f50797b4a4
commit ba16f0d9ef
2 changed files with 4 additions and 1 deletions

View File

@ -2,7 +2,7 @@
## 4.6.1 (not yet released) ## 4.6.1 (not yet released)
(nothing yet) - #99 `triton profile set ...` alias for `set-current`
## 4.6.0 ## 4.6.0

View File

@ -39,5 +39,8 @@ do_set_current.help = [
'`triton -p PROFILE-NAME ...` or the TRITON_PROFILE environment variable.' '`triton -p PROFILE-NAME ...` or the TRITON_PROFILE environment variable.'
].join('\n'); ].join('\n');
do_set_current.aliases = ['set'];
do_set_current.completionArgtypes = ['tritonprofile', 'none'];
module.exports = do_set_current; module.exports = do_set_current;