mirror of
https://github.com/angular/angular.git
synced 2026-11-23 23:17:50 -05:00
13 lines
322 B
JavaScript
13 lines
322 B
JavaScript
import {ExampleZipper} from './exampleZipper.mjs';
|
|
|
|
const argv = process.argv.slice(2);
|
|
if (argv.length !== 2) {
|
|
console.error('Usage: node generateZip.mjs [example-path] [output-path]');
|
|
process.exit(1);
|
|
}
|
|
|
|
const EXAMPLE_PATH = argv[0];
|
|
const OUTPUT_PATH = argv[1];
|
|
|
|
new ExampleZipper(EXAMPLE_PATH, OUTPUT_PATH);
|