2015-01-29 16:57:43 +03:00
|
|
|
/*!
|
2016-03-07 18:34:03 +03:00
|
|
|
* Copyright (C) 2010-2016, Microsoft Corporation
|
2015-01-29 16:57:43 +03:00
|
|
|
*
|
|
|
|
* This program is licensed to you under the terms of Version 2.0 of the
|
|
|
|
* Apache License. This program is distributed WITHOUT
|
|
|
|
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
|
|
|
|
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the
|
|
|
|
* Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0) for more
|
|
|
|
* details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
|
|
|
|
var di = require('../di');
|
|
|
|
|
|
|
|
//
|
|
|
|
// Alias the appropriate commands for simplier CLI usage
|
|
|
|
//
|
|
|
|
di.alias('w', { resource: 'users', command: 'whoami' });
|
|
|
|
di.alias('e', { resource: 'server', command: 'endpoint' });
|