Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pinussilvestrus/validate-templates-cli
Command Line Tool to validate Camunda Element Templates
https://github.com/pinussilvestrus/validate-templates-cli
camunda cli element-templates json-schema validation
Last synced: 8 days ago
JSON representation
Command Line Tool to validate Camunda Element Templates
- Host: GitHub
- URL: https://github.com/pinussilvestrus/validate-templates-cli
- Owner: pinussilvestrus
- Created: 2021-03-18T14:34:58.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-01-01T09:01:25.000Z (almost 2 years ago)
- Last Synced: 2024-12-17T01:36:37.206Z (12 days ago)
- Topics: camunda, cli, element-templates, json-schema, validation
- Language: JavaScript
- Homepage:
- Size: 212 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# validate-templates-cli
[![CI](https://github.com/pinussilvestrus/validate-templates-cli/workflows/CI/badge.svg)](https://github.com/pinussilvestrus/validate-templates-cli/actions?query=workflow%3ACI)
Command Line Tool to validate Camunda Element Templates, based on
* [`@bpmn-io/element-templates-validator`](https://github.com/bpmn-io/element-templates-validator) - Validate element templates based on JSON Schema
* [`@camunda/element-templates-json-schema`](https://github.com/camunda/element-templates-json-schema) - JSON Schema for (Camunda) Element Templates## Usage
Install the command line tool via `npm`:
```sh
npm install -g validate-templates-cli
```or use it directly via `npx`:
```text
> npx validate-templates ./resources/errors.jsonValidating 1 templates...
Invalid Template (name: , id: ) found.
* invalid property type "Foo" for binding type "property"; must be any of { String, Text, Hidden, Dropdown, Boolean }
* must provide choices=[] with "Dropdown" type
* property.binding "camunda:outputParameter" requires source
* property.binding "property" requires name
```## License
MIT