{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "sync_resources", "description": "Sync a Viash package's test resources to the local filesystem based on the\nthe `.info.test_resources` field in the `_viash.yaml` file. This is useful for\ntesting and debugging purposes.\n", "type": "object", "$defs": { "inputs": { "title": "Inputs", "type": "object", "description": "No description", "properties": { "input": { "type": "string", "format": "path", "description": "Path to the _viash.yaml project configuration file.", "help_text": "Type: `file`, multiple: `False`, default: `\"_viash.yaml\"`, direction: `input`. ", "default": "_viash.yaml" } } }, "outputs": { "title": "Outputs", "type": "object", "description": "No description", "properties": { "output": { "type": "string", "format": "path", "description": "Path to the directory where the resources will be synced to.", "help_text": "Type: `file`, multiple: `False`, default: `\".\"`, direction: `output`. ", "default": "." } } }, "arguments": { "title": "Arguments", "type": "object", "description": "No description", "properties": { "dryrun": { "type": "boolean", "description": "Does not display the operations performed from the specified command.", "help_text": "Type: `boolean_true`, multiple: `False`, default: `false`. ", "default": false }, "exclude": { "type": "array", "items": { "type": "string" }, "description": "Exclude all files or objects from the command that matches the specified pattern.", "help_text": "Type: `string`, multiple: `True`. " } } }, "nextflow input-output arguments": { "title": "Nextflow input-output arguments", "type": "object", "description": "Input/output parameters for Nextflow itself. Please note that both publishDir and publish_dir are supported but at least one has to be configured.", "properties": { "publish_dir": { "type": "string", "description": "Path to an output directory.", "help_text": "Type: `string`, multiple: `False`, required, example: `\"output/\"`. " } } } }, "allOf": [ { "$ref": "#/$defs/inputs" }, { "$ref": "#/$defs/outputs" }, { "$ref": "#/$defs/arguments" }, { "$ref": "#/$defs/nextflow input-output arguments" } ] }