@apollo-annotation/cli 0.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/README.md +899 -0
- package/bin/dev.cmd +3 -0
- package/bin/dev.js +9 -0
- package/bin/run.cmd +3 -0
- package/bin/run.js +8 -0
- package/dist/Config.d.ts +43 -0
- package/dist/Config.js +233 -0
- package/dist/baseCommand.d.ts +21 -0
- package/dist/baseCommand.js +62 -0
- package/dist/commands/assembly/add-fasta.d.ts +15 -0
- package/dist/commands/assembly/add-fasta.js +98 -0
- package/dist/commands/assembly/add-gff.d.ts +16 -0
- package/dist/commands/assembly/add-gff.js +76 -0
- package/dist/commands/assembly/check.d.ts +15 -0
- package/dist/commands/assembly/check.js +148 -0
- package/dist/commands/assembly/delete.d.ts +14 -0
- package/dist/commands/assembly/delete.js +43 -0
- package/dist/commands/assembly/get.d.ts +9 -0
- package/dist/commands/assembly/get.js +33 -0
- package/dist/commands/assembly/get.test.d.ts +1 -0
- package/dist/commands/assembly/get.test.js +50 -0
- package/dist/commands/assembly/sequence.d.ts +16 -0
- package/dist/commands/assembly/sequence.js +117 -0
- package/dist/commands/change/get.d.ts +9 -0
- package/dist/commands/change/get.js +35 -0
- package/dist/commands/change/get.test.d.ts +1 -0
- package/dist/commands/change/get.test.js +22 -0
- package/dist/commands/config.d.ts +25 -0
- package/dist/commands/config.js +217 -0
- package/dist/commands/config.test.d.ts +1 -0
- package/dist/commands/config.test.js +188 -0
- package/dist/commands/feature/add-child.d.ts +17 -0
- package/dist/commands/feature/add-child.js +120 -0
- package/dist/commands/feature/check.d.ts +14 -0
- package/dist/commands/feature/check.js +97 -0
- package/dist/commands/feature/copy.d.ts +17 -0
- package/dist/commands/feature/copy.js +110 -0
- package/dist/commands/feature/delete.d.ts +11 -0
- package/dist/commands/feature/delete.js +99 -0
- package/dist/commands/feature/edit-attribute.d.ts +16 -0
- package/dist/commands/feature/edit-attribute.js +100 -0
- package/dist/commands/feature/edit-coords.d.ts +15 -0
- package/dist/commands/feature/edit-coords.js +109 -0
- package/dist/commands/feature/edit-type.d.ts +10 -0
- package/dist/commands/feature/edit-type.js +70 -0
- package/dist/commands/feature/edit.d.ts +13 -0
- package/dist/commands/feature/edit.js +81 -0
- package/dist/commands/feature/get-id.d.ts +14 -0
- package/dist/commands/feature/get-id.js +56 -0
- package/dist/commands/feature/get.d.ts +16 -0
- package/dist/commands/feature/get.js +87 -0
- package/dist/commands/feature/import.d.ts +15 -0
- package/dist/commands/feature/import.js +83 -0
- package/dist/commands/feature/search.d.ts +14 -0
- package/dist/commands/feature/search.js +91 -0
- package/dist/commands/login.d.ts +21 -0
- package/dist/commands/login.js +206 -0
- package/dist/commands/login.test.d.ts +1 -0
- package/dist/commands/login.test.js +52 -0
- package/dist/commands/logout.d.ts +10 -0
- package/dist/commands/logout.js +41 -0
- package/dist/commands/logout.test.d.ts +1 -0
- package/dist/commands/logout.test.js +67 -0
- package/dist/commands/refseq/get.d.ts +13 -0
- package/dist/commands/refseq/get.js +44 -0
- package/dist/commands/status.d.ts +6 -0
- package/dist/commands/status.js +38 -0
- package/dist/commands/status.test.d.ts +1 -0
- package/dist/commands/status.test.js +54 -0
- package/dist/commands/user/get.d.ts +14 -0
- package/dist/commands/user/get.js +46 -0
- package/dist/commands/user/get.test.d.ts +1 -0
- package/dist/commands/user/get.test.js +23 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/test/fixtures.d.ts +7 -0
- package/dist/test/fixtures.js +40 -0
- package/dist/utils.d.ts +54 -0
- package/dist/utils.js +373 -0
- package/oclif.manifest.json +1632 -0
- package/package.json +100 -0
package/package.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@apollo-annotation/cli",
|
|
3
|
+
"description": "Command line interface for the Apollo annotation server",
|
|
4
|
+
"version": "0.1.10",
|
|
5
|
+
"author": "Apollo Team",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/GMOD/Apollo3.git",
|
|
9
|
+
"directory": "packages/apollo-cli"
|
|
10
|
+
},
|
|
11
|
+
"bin": {
|
|
12
|
+
"apollo": "./bin/run.js"
|
|
13
|
+
},
|
|
14
|
+
"type": "module",
|
|
15
|
+
"main": "",
|
|
16
|
+
"types": "dist/index.d.ts",
|
|
17
|
+
"exports": "./dist/index.js",
|
|
18
|
+
"engines": {
|
|
19
|
+
"node": ">=18.0.0"
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"/bin",
|
|
23
|
+
"/dist",
|
|
24
|
+
"/oclif.manifest.json"
|
|
25
|
+
],
|
|
26
|
+
"scripts": {
|
|
27
|
+
"build": "shx rm -rf dist && tsc -b",
|
|
28
|
+
"dev": "tsx bin/dev.js",
|
|
29
|
+
"postpack": "shx rm -f oclif.manifest.json",
|
|
30
|
+
"posttest": "yarn lint",
|
|
31
|
+
"prepack": "yarn build && oclif manifest && oclif readme",
|
|
32
|
+
"prepare": "yarn build",
|
|
33
|
+
"test": "mocha --require src/test/fixtures.ts 'src/**/*.test.ts'",
|
|
34
|
+
"test:ci": "nyc mocha 'src/**/*.test.ts'",
|
|
35
|
+
"version": "oclif readme && git add README.md"
|
|
36
|
+
},
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"@inquirer/input": "^1.2.14",
|
|
39
|
+
"@inquirer/password": "^1.1.14",
|
|
40
|
+
"@inquirer/select": "^1.3.1",
|
|
41
|
+
"@oclif/core": "^3.18.2",
|
|
42
|
+
"@oclif/plugin-help": "^6.0.8",
|
|
43
|
+
"bson": "^6.3.0",
|
|
44
|
+
"joi": "^17.7.0",
|
|
45
|
+
"open": "^10.1.0",
|
|
46
|
+
"tslib": "^2.3.1",
|
|
47
|
+
"undici": "^6.7.0",
|
|
48
|
+
"yaml": "^2.3.4"
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"@istanbuljs/esm-loader-hook": "^0.2.0",
|
|
52
|
+
"@istanbuljs/nyc-config-typescript": "^1.0.2",
|
|
53
|
+
"@oclif/test": "^3.1.3",
|
|
54
|
+
"@types/chai": "^4",
|
|
55
|
+
"@types/inquirer": "^9.0.7",
|
|
56
|
+
"@types/mocha": "^10",
|
|
57
|
+
"@types/node": "^18.14.2",
|
|
58
|
+
"babel-plugin-istanbul": "^6.1.1",
|
|
59
|
+
"mocha": "^10.2.0",
|
|
60
|
+
"nyc": "^15.1.0",
|
|
61
|
+
"oclif": "^4.4.2",
|
|
62
|
+
"shx": "^0.3.3",
|
|
63
|
+
"ts-node": "^10.3.0",
|
|
64
|
+
"tsx": "^4.6.2",
|
|
65
|
+
"typescript": "^5.1.6"
|
|
66
|
+
},
|
|
67
|
+
"oclif": {
|
|
68
|
+
"helpOptions": {
|
|
69
|
+
"flagSortOrder": "none"
|
|
70
|
+
},
|
|
71
|
+
"bin": "apollo",
|
|
72
|
+
"dirname": "apollo-cli",
|
|
73
|
+
"commands": "./dist/commands",
|
|
74
|
+
"plugins": [
|
|
75
|
+
"@oclif/plugin-help"
|
|
76
|
+
],
|
|
77
|
+
"repositoryPrefix": "<%- repo %>/blob/v<%- version %>/packages/apollo-cli/<%- commandPath %>",
|
|
78
|
+
"topicSeparator": " ",
|
|
79
|
+
"topics": {
|
|
80
|
+
"assembly": {
|
|
81
|
+
"description": "Commands to handle assemblies"
|
|
82
|
+
},
|
|
83
|
+
"change": {
|
|
84
|
+
"description": "Commands to handle the log of changes made to the database"
|
|
85
|
+
},
|
|
86
|
+
"feature": {
|
|
87
|
+
"description": "Commands to handle features"
|
|
88
|
+
},
|
|
89
|
+
"refseq": {
|
|
90
|
+
"description": "Commands to handle reference sequences"
|
|
91
|
+
},
|
|
92
|
+
"user": {
|
|
93
|
+
"description": "Commands to handle users"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"publishConfig": {
|
|
98
|
+
"access": "public"
|
|
99
|
+
}
|
|
100
|
+
}
|