@galaxy-tool-util/cli 0.1.0
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 +19 -0
- package/dist/bin/galaxy-tool-cache.d.ts +3 -0
- package/dist/bin/galaxy-tool-cache.d.ts.map +1 -0
- package/dist/bin/galaxy-tool-cache.js +50 -0
- package/dist/bin/galaxy-tool-cache.js.map +1 -0
- package/dist/bin/galaxy-workflow-validate.d.ts +3 -0
- package/dist/bin/galaxy-workflow-validate.d.ts.map +1 -0
- package/dist/bin/galaxy-workflow-validate.js +17 -0
- package/dist/bin/galaxy-workflow-validate.js.map +1 -0
- package/dist/commands/add.d.ts +7 -0
- package/dist/commands/add.d.ts.map +1 -0
- package/dist/commands/add.js +15 -0
- package/dist/commands/add.js.map +1 -0
- package/dist/commands/clear.d.ts +5 -0
- package/dist/commands/clear.d.ts.map +1 -0
- package/dist/commands/clear.js +16 -0
- package/dist/commands/clear.js.map +1 -0
- package/dist/commands/info.d.ts +6 -0
- package/dist/commands/info.d.ts.map +1 -0
- package/dist/commands/info.js +32 -0
- package/dist/commands/info.js.map +1 -0
- package/dist/commands/list.d.ts +6 -0
- package/dist/commands/list.d.ts.map +1 -0
- package/dist/commands/list.js +24 -0
- package/dist/commands/list.js.map +1 -0
- package/dist/commands/resolve-tool.d.ts +16 -0
- package/dist/commands/resolve-tool.d.ts.map +1 -0
- package/dist/commands/resolve-tool.js +17 -0
- package/dist/commands/resolve-tool.js.map +1 -0
- package/dist/commands/schema.d.ts +8 -0
- package/dist/commands/schema.d.ts.map +1 -0
- package/dist/commands/schema.js +55 -0
- package/dist/commands/schema.js.map +1 -0
- package/dist/commands/url-resolver.d.ts +23 -0
- package/dist/commands/url-resolver.d.ts.map +1 -0
- package/dist/commands/url-resolver.js +58 -0
- package/dist/commands/url-resolver.js.map +1 -0
- package/dist/commands/validate-workflow-json-schema.d.ts +16 -0
- package/dist/commands/validate-workflow-json-schema.d.ts.map +1 -0
- package/dist/commands/validate-workflow-json-schema.js +313 -0
- package/dist/commands/validate-workflow-json-schema.js.map +1 -0
- package/dist/commands/validate-workflow.d.ts +21 -0
- package/dist/commands/validate-workflow.d.ts.map +1 -0
- package/dist/commands/validate-workflow.js +257 -0
- package/dist/commands/validate-workflow.js.map +1 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +19 -0
- package/dist/index.js.map +1 -0
- package/package.json +51 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,qEAAqE;AACrE,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,yCAAyC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,0CAA0C;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,4DAA4D;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,2FAA2F;AAC3F,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,yEAAyE;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module @galaxy-tool-util/cli
|
|
3
|
+
*
|
|
4
|
+
* CLI command implementations for `galaxy-tool-cache`.
|
|
5
|
+
* Each function corresponds to a CLI subcommand and can also be called programmatically.
|
|
6
|
+
*/
|
|
7
|
+
/** Fetch a tool from ToolShed/Galaxy and save to the local cache. */
|
|
8
|
+
export { runAdd } from "./commands/add.js";
|
|
9
|
+
/** List all tools in the local cache. */
|
|
10
|
+
export { runList } from "./commands/list.js";
|
|
11
|
+
/** Display metadata for a cached tool. */
|
|
12
|
+
export { runInfo } from "./commands/info.js";
|
|
13
|
+
/** Clear cached tools, optionally filtered by ID prefix. */
|
|
14
|
+
export { runClear } from "./commands/clear.js";
|
|
15
|
+
/** Export a JSON Schema for a cached tool's parameters at a given state representation. */
|
|
16
|
+
export { runSchema } from "./commands/schema.js";
|
|
17
|
+
/** Validate a Galaxy workflow file (structure + optional tool state). */
|
|
18
|
+
export { runValidateWorkflow } from "./commands/validate-workflow.js";
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,qEAAqE;AACrE,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,yCAAyC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,0CAA0C;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,4DAA4D;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,2FAA2F;AAC3F,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,yEAAyE;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@galaxy-tool-util/cli",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "galaxy-tool-cache CLI — cache and inspect Galaxy tool metadata",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"galaxy-tool-cache": "dist/bin/galaxy-tool-cache.js",
|
|
8
|
+
"galaxy-workflow-validate": "dist/bin/galaxy-workflow-validate.js"
|
|
9
|
+
},
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/index.js"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist",
|
|
18
|
+
"README.md",
|
|
19
|
+
"LICENSE"
|
|
20
|
+
],
|
|
21
|
+
"repository": {
|
|
22
|
+
"type": "git",
|
|
23
|
+
"url": "https://github.com/jmchilton/galaxy-tool-util-ts",
|
|
24
|
+
"directory": "packages/cli"
|
|
25
|
+
},
|
|
26
|
+
"publishConfig": {
|
|
27
|
+
"access": "public",
|
|
28
|
+
"provenance": true
|
|
29
|
+
},
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "tsc",
|
|
32
|
+
"typecheck": "tsc --noEmit",
|
|
33
|
+
"test": "tsc --noEmit && vitest run",
|
|
34
|
+
"test:watch": "vitest",
|
|
35
|
+
"lint": "eslint src/ test/",
|
|
36
|
+
"format": "prettier --check 'src/**/*.ts' 'test/**/*.ts'",
|
|
37
|
+
"format-fix": "prettier --write 'src/**/*.ts' 'test/**/*.ts'"
|
|
38
|
+
},
|
|
39
|
+
"license": "MIT",
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"@galaxy-tool-util/core": "workspace:*",
|
|
42
|
+
"@galaxy-tool-util/schema": "workspace:*",
|
|
43
|
+
"ajv": "^8.18.0",
|
|
44
|
+
"commander": "^14.0.0",
|
|
45
|
+
"effect": "^3.21.0",
|
|
46
|
+
"yaml": "^2.8.3"
|
|
47
|
+
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"@types/node": "^25.5.0"
|
|
50
|
+
}
|
|
51
|
+
}
|