angular-cn/aio/tools/transforms/cli-docs-package/extract-cli-commands.js

8 lines
238 B
JavaScript
Raw Normal View History

const shelljs = require('shelljs');
const {resolve} = require('canonical-path');
const {CONTENTS_PATH} = require('../config');
shelljs.cd(resolve(CONTENTS_PATH, 'cli-src'));
shelljs.exec('git clean -Xfd');
shelljs.exec('yarn install');