angular-docs-cn/dev-infra/cli.ts

15 lines
381 B
TypeScript
Raw Normal View History

/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
const args = process.argv.slice(2);
// TODO(josephperrott): Set up proper cli flag/command handling
switch(args[0]) {
default:
console.info('No commands were matched');
}