0.2.3 • Published 6 years ago

yodata-cli v0.2.3

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

Yodata CLI

Installation

npm install yodata-cli

Create Account

## Context CLI

```bash
# create a new context in mycontext from yodata:realestate
ctx clone yodata:realestate mycontext

# adding terms
ctx add <name> or <prefix:name>
ctx add Person         # initial cap adds a Class term
ctx add givenName      # lowercase adds a property term
ctx add schema:Person  # imports an rdf:Class and all related terms (properties)

# removing terms
ctx rm Person --prune  # remove terms and removes terms resulting orphans

# export term in json,yaml,jsonld,ttl,rdf
ctx show Person -output-format=(json,yaml,rdf,nt,nq,schema,graphql)
0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago