{"id":15328974,"url":"https://github.com/shazron/aio-cli-plugin-asset-compute","last_synced_at":"2025-10-09T21:30:17.720Z","repository":{"id":191881299,"uuid":"684589373","full_name":"shazron/aio-cli-plugin-asset-compute","owner":"shazron","description":"Asset Compute Plugin for Adobe I/O Command Line Interface","archived":false,"fork":true,"pushed_at":"2025-07-11T06:43:23.000Z","size":2326,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-11T10:27:51.401Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"adobe/aio-cli-plugin-asset-compute","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shazron.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-29T12:57:11.000Z","updated_at":"2025-07-11T06:43:27.000Z","dependencies_parsed_at":"2023-09-01T10:13:58.535Z","dependency_job_id":null,"html_url":"https://github.com/shazron/aio-cli-plugin-asset-compute","commit_stats":null,"previous_names":["shazron/aio-cli-plugin-asset-compute"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shazron/aio-cli-plugin-asset-compute","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shazron%2Faio-cli-plugin-asset-compute","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shazron%2Faio-cli-plugin-asset-compute/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shazron%2Faio-cli-plugin-asset-compute/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shazron%2Faio-cli-plugin-asset-compute/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shazron","download_url":"https://codeload.github.com/shazron/aio-cli-plugin-asset-compute/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shazron%2Faio-cli-plugin-asset-compute/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002050,"owners_count":26083285,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T09:45:51.719Z","updated_at":"2025-10-09T21:30:17.261Z","avatar_url":"https://github.com/shazron.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io) [![Version](https://img.shields.io/npm/v/@adobe/aio-cli-plugin-asset-compute.svg)](https://npmjs.org/package/@adobe/aio-cli-plugin-asset-compute) [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0) [![codecov](https://codecov.io/gh/adobe/aio-cli-plugin-asset-compute/branch/master/graph/badge.svg)](https://codecov.io/gh/adobe/aio-cli-plugin-asset-compute) [![Travis](https://travis-ci.com/adobe/aio-cli-plugin-asset-compute.svg?branch=master)](https://travis-ci.com/adobe/aio-cli-plugin-asset-compute)\n\n\n@adobe/aio-cli-plugin-asset-compute\n=======================\n\nAsset Compute Plugin for the [Adobe I/O CLI](https://github.com/adobe/aio-cli). This plugin supports developing and testing of [Asset Compute custom workers](https://docs.adobe.com/content/help/en/asset-compute/using/extend/understand-extensibility.html).\n\n\u003c!-- toc --\u003e\n\n\u003c!-- tocstop --\u003e\n\n## Documentation\n\nFurther documentation:\n\n- [Developing with `devtool`](https://docs.adobe.com/content/help/en/asset-compute/using/extend/develop-custom-application.html)\n- [Adding custom tests with `test-worker` framework](https://docs.adobe.com/content/help/en/asset-compute/using/extend/test-custom-application.html)\n\n## Installation and Usage\n\nFor interactive use as developer, install this as [aio-cli](https://github.com/adobe/aio-cli) plugin using:\n\n```\naio plugins:install @adobe/aio-cli-plugin-asset-compute\n```\n\nTo list available commands, run\n\n```\naio asset-compute\n```\n\nSee [commands](#commands) for a description of all commands.\n\nWhen `aio asset-compute` is run inside a project directory with a `package.json` with the plugin installed as devDependency (see below), then it will use exactly that dependency version (available since `1.4.0`). This ensures test execution behaves the same as with `aio app test` in e.g. CI builds, even if the plugin version installed by the developer in `aio` is different. In other directories it will simply use its own command implementations.\n\n### Use as project Dependency\n\nInside Asset Compute [App Builder](https://www.adobe.io/app-builder/) projects, `@adobe/aio-cli-plugin-asset-compute` will also be present as npm [devDependency](https://docs.npmjs.com/specifying-dependencies-and-devdependencies-in-a-package-json-file). This is used by `aio app test` and `aio app run`.\n\nProjects created using `aio app init` with the Asset Compute Worker generator will automatically be include this dependency in their `package.json`, so no separate installation is required.\n\nIn case of creating a project setup from scratch, install it as `devDependency` using:\n\n```\nnpm install --save-dev @adobe/aio-cli-plugin-asset-compute\n```\n\nThen it can be used with `aio app test` or `npm test` by adding a test script to the `package.json`. Or an `aio app` hook such as `post-app-run`. Note that the bin name is `adobe-asset-compute` in this case:\n\n```\n    \"scripts\": {\n        \"test\": \"adobe-asset-compute test-worker\",\n        \"post-app-run\": \"adobe-asset-compute devtool\"\n    }\n```\n\n### Debugging workers\n\nIf you use the [debug](https://www.npmjs.com/package/debug) library inside your worker code, you can enable it in `test-worker` and `run-worker` commands by setting the `WORKER_DEBUG` environment variable just like the standard `DEBUG` variable:\n\n```\nWORKER_DEBUG=mystuff aio asset-compute test-worker\n```\n\n## Commands\n\n\u003c!-- commands --\u003e\n* [`aio devtool`](#aio-devtool)\n* [`aio run-worker FILE RENDITION`](#aio-run-worker-file-rendition)\n* [`aio test-worker [TESTCASE]`](#aio-test-worker-testcase)\n\n## `aio devtool`\n\nStarts the Asset Compute Developer Tool\n\n```\nUSAGE\n  $ aio devtool [-v] [--version] [--port \u003cvalue\u003e]\n\nFLAGS\n  -v, --verbose   Verbose output\n  --port=\u003cvalue\u003e  [default: 9000] Http port of the Asset Compute Developer Tool Server\n  --version       Show version\n\nDESCRIPTION\n  Starts the Asset Compute Developer Tool\n```\n\n## `aio run-worker FILE RENDITION`\n\nRun worker from local project using Docker\n\n```\nUSAGE\n  $ aio run-worker [FILE] [RENDITION] [-v] [--version] [-a \u003cvalue\u003e] [-d \u003cvalue\u003e | -P \u003cvalue\u003e | -p \u003cvalue\u003e]\n\nARGUMENTS\n  FILE       Path to input file for worker\n  RENDITION  Path where to create output rendition.\n             Single file for single rendition, or directory to create multiple renditions, in which case the full\n             parameter json including rendition names must be provided using --data.\n\nFLAGS\n  -P, --paramFile=\u003cvalue\u003e  Path to parameter json file.\n  -a, --action=\u003cvalue\u003e     Worker to run. Use action name from manifest. Not required if there is only one.\n  -d, --data=\u003cvalue\u003e       Complete input parameters as JSON string. Allows multiple renditions.\n  -p, --param=\u003cvalue\u003e...   \u003ckey\u003e \u003cvalue\u003e - Set parameters for rendition, can be used multiple times\n  -v, --verbose            Verbose output\n  --version                Show version\n\nDESCRIPTION\n  Run worker from local project using Docker\n```\n\n## `aio test-worker [TESTCASE]`\n\nRun tests from local project\n\n```\nUSAGE\n  $ aio test-worker [TESTCASE] [-v] [--version] [-a \u003cvalue\u003e] [-u]\n\nARGUMENTS\n  TESTCASE  Test case(s) to run. Supports glob patterns. If not set, runs all tests.\n\nFLAGS\n  -a, --action=\u003cvalue\u003e    Worker to test. Use action name from manifest. If not set, runs tests for all workers.\n  -u, --updateRenditions  Replace expected renditions of failing test cases with the generated rendition.\n  -v, --verbose           Verbose output\n  --version               Show version\n\nDESCRIPTION\n  Run tests from local project\n\nALIASES\n  $ aio tw\n```\n\u003c!-- commandsstop --\u003e\n\n## Contributing\n\nContributions are welcomed! Read the [Contributing Guide](./.github/CONTRIBUTING.md) for more information.\n\n## Licensing\n\nThis project is licensed under the Apache V2 License. See [LICENSE](LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshazron%2Faio-cli-plugin-asset-compute","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshazron%2Faio-cli-plugin-asset-compute","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshazron%2Faio-cli-plugin-asset-compute/lists"}