ShtukbaseStandard
archivo del paquete→ .shtukbase/packages/ontology/actions/build.ts

actions/build.ts

11 líneas, 464 B.

El archivo tal como está en el paquete: el código y sus comentarios no se traducen.

  1. // Action `build`: writes the static lens base/ontology/layers.html (layers, bridges, contours, placement)
  2. // from the project's markdown. Needs no kit. Run from the project root; the one option is --out <file>.
  3. import { outOption } from './lib/lenscommon.ts';
  4. import { main } from './lib/render_ontology.ts';
  5. try {
  6. console.log('wrote', main('.', outOption(process.argv.slice(2))));
  7. } catch (err) {
  8. console.error((err as Error).message);
  9. process.exit(1);
  10. }