Rust implementation of NextGraph, a Decentralized and local-first web 3.0 ecosystem
https://nextgraph.org
byzantine-fault-tolerancecrdtsdappsdecentralizede2eeeventual-consistencyjson-ldlocal-firstmarkdownocapoffline-firstp2pp2p-networkprivacy-protectionrdfrich-text-editorself-hostedsemantic-websparqlweb3collaboration
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
605 B
15 lines
605 B
#!/usr/bin/env node
|
|
import { program } from "commander";
|
|
import { build } from "./build.js";
|
|
program
|
|
.name("NG-ORM")
|
|
.description("CLI to some JavaScript string utilities")
|
|
.version("0.1.0");
|
|
program
|
|
.command("build")
|
|
.description("Build contents of a shex folder into Shape Types")
|
|
.option("-i, --input <inputPath>", "Provide the input path", "./.shapes")
|
|
.option("-o, --output <outputPath>", "Provide the output path", "./.orm")
|
|
.option("-b, --baseIRI <baseIri>", "The base IRI for anonymous shapes", "https://nextgraph.org/shapes#")
|
|
.action(build);
|
|
program.parse();
|
|
|