yodata-cli

0.2.3 • Public • Published

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)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.3
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.3
    2
  • 0.2.2
    0
  • 0.2.1
    0

Package Sidebar

Install

npm i yodata-cli

Weekly Downloads

2

Version

0.2.3

License

MIT

Unpacked Size

35.6 kB

Total Files

22

Last publish

Collaborators

  • cvraghu
  • yodaveduran