- CLI entry point with yargs parsing for speckl-compile <file> --output-dir --bom-format - TypeScript parser with AST types for all SpeckDL primitives - Generator for PROV-O JSON-LD provenance graphs - Generator for CycloneDX v1.6 BOMs - Generator for SPDX 3.0.1 BOMs - E2E test verifying RetryHandler.speck parsing and all output formats All tests pass.
8 lines
231 B
JavaScript
8 lines
231 B
JavaScript
'use strict';
|
|
|
|
// Bootstraps yargs for ESM:
|
|
import esmPlatformShim from './lib/platform-shims/esm.mjs';
|
|
import {YargsFactory} from './build/lib/yargs-factory.js';
|
|
|
|
const Yargs = YargsFactory(esmPlatformShim);
|
|
export default Yargs;
|