https://github.com/angular/angular
Raw File
Tip revision: 3c3a947778fc2941b035e9e6efb6fb883a4dd79c authored by Dylan Hunn on 17 January 2024, 22:07:29 UTC
Revert "refactor(core): improve forwardRef typings"
Tip revision: 3c3a947
generateZip.mjs
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);
back to top