@lsbjordao/type-taxon-script 1.1.9 → 1.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tts.js +15 -0
- package/package.json +1 -1
package/dist/tts.js
CHANGED
|
@@ -10,6 +10,7 @@ const import_1 = __importDefault(require("./import"));
|
|
|
10
10
|
const export_1 = __importDefault(require("./export"));
|
|
11
11
|
const exportSources_1 = __importDefault(require("./exportSources"));
|
|
12
12
|
const exportToCsv_1 = __importDefault(require("./exportToCsv"));
|
|
13
|
+
const exportOntology_1 = __importDefault(require("./exportOntology"));
|
|
13
14
|
const findProperty_1 = __importDefault(require("./findProperty"));
|
|
14
15
|
yargs_1.default.version();
|
|
15
16
|
yargs_1.default.command({
|
|
@@ -107,6 +108,20 @@ yargs_1.default.command({
|
|
|
107
108
|
(0, exportToCsv_1.default)(argv.genus, argv.load);
|
|
108
109
|
},
|
|
109
110
|
});
|
|
111
|
+
yargs_1.default.command({
|
|
112
|
+
command: 'exportOntology',
|
|
113
|
+
describe: 'Export ontology schema and RDF instances',
|
|
114
|
+
builder: {
|
|
115
|
+
genus: {
|
|
116
|
+
describe: 'Genus name',
|
|
117
|
+
demandOption: true,
|
|
118
|
+
type: 'string',
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
handler: (argv) => {
|
|
122
|
+
(0, exportOntology_1.default)(argv.genus);
|
|
123
|
+
},
|
|
124
|
+
});
|
|
110
125
|
yargs_1.default.command({
|
|
111
126
|
command: 'findProperty',
|
|
112
127
|
describe: 'Find a property',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lsbjordao/type-taxon-script",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.10",
|
|
4
4
|
"author": "Lucas Jordão <tucarj@gmail.com> & André Eppinghaus <andreeppinghaus@gmail.com> & Vicente Calfo <vicentecalfo@gmail.com>",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"description": "TypeTaxonScript",
|