TACOS: Types And Crosswalks Organized for Schema mapping and management
Work-in-progress CLI tool to interact with FAIRCORE4EOSC MSCR and DTR -services.
$ git clone https://github.com/EUDAT-B2SHARE/tacos-cli.git
$ cd tacos-cli
$ pip install -r requirements.txt
$ python tacos-cli.py dtr [OPTIONS] COMMAND [ARGS]
.
$ python tacos-cli.py dtr --help
Usage: tacos-cli.py dtr [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
fetch-json-schema Fetch a Schema from DTR and output it.
fetch-schema Fetch a Schema from DTR in JSON-Schema format and...
fetch-type Fetch DTR Type information and output it.
$ python tacos-cli.py mscr [OPTIONS] COMMAND [ARGS
.
$ python tacos-cli.py mscr --help
Usage: tacos-cli.py mscr [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
add-types Add DTR Type information to metadata schema in MSCR.
register-schema Register metadata schema into MSCR.