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.
26 lines
373 B
26 lines
373 B
# LDO-CLI
|
|
|
|
A command line interface for Linked Data Objects. LDO-CLI builds `.shex` shapes into LDO types.
|
|
|
|
## Setup
|
|
Install the CLI
|
|
|
|
```bash
|
|
npm i ldo-cli --save-dev
|
|
```
|
|
|
|
Set up a shapes folder
|
|
```bash
|
|
mkdir shapes
|
|
```
|
|
|
|
Place ShexC shapes inside `.shex` files
|
|
|
|
```bash
|
|
touch ./shapes/example.shex
|
|
```
|
|
|
|
Build the shpaes
|
|
```bash
|
|
ldo build --input ./shapes --output ./ldo
|
|
``` |