clistyle: networks should be hidden, no whoami

This commit is contained in:
Trent Mick 2016-01-04 22:57:24 -08:00
parent 105b7bf9a4
commit 88bbfdfba7
4 changed files with 6 additions and 3 deletions

View File

@ -2,7 +2,8 @@
## 4.0.0 (not yet released) ## 4.0.0 (not yet released)
- XXX changes in `triton instance,key,network` - XXX changes in `triton instance,key,network,account`.
Drops `triton whoami`. Want to keep that?
- Add the ability to create a profile copying from an existing profile, - Add the ability to create a profile copying from an existing profile,
via `triton profile create --copy NAME`. via `triton profile create --copy NAME`.

View File

@ -205,7 +205,6 @@ function CLI() {
{ group: 'Images, Packages, Networks' }, { group: 'Images, Packages, Networks' },
'image', 'image',
'package', 'package',
'networks',
'network', 'network',
{ group: 'Other Commands' }, { group: 'Other Commands' },
'info', 'info',

View File

@ -22,4 +22,6 @@ do_networks.help = [
' {{name}} networks ...' ' {{name}} networks ...'
].join('\n'); ].join('\n');
do_networks.hidden = true;
module.exports = do_networks; module.exports = do_networks;

View File

@ -28,7 +28,8 @@ var subs = [
['profile create'], ['profile create'],
['profile edit'], ['profile edit'],
['profile delete', 'profile rm'], ['profile delete', 'profile rm'],
['account', 'whoami'], ['account'],
['account get'],
['services'], ['services'],
['datacenters'], ['datacenters'],
['instance', 'inst'], ['instance', 'inst'],