-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI支持 #3
Comments
Hi @GTrunSec. 讲道理来说是可以的,但是由于不同的业务,可能需要附带的业务参数不同,所以这部分还是需要考虑从哪一个层面来封装的,或许你有更好的建议,欢迎 🤝 |
首先我们根据不同的业务场景,制定的不同的json-schema [template],明确的知道当前的业务场景有哪些参数。json-schema有2个作用可以做data validation,可以让用户参考当前场景的数据类型参数有哪些。 对接到CLI 端,用户直接可以通过template name去生成不同业务场景的BPMN CLI --template |
其次内置一个validatior 可以针对不同的数据场景,精确的抛出当前的 template(场景名字) -> template-json-schema -> inputs.json -> valid -> output.bpmn |
其次如果你觉得这个想法可以,我可以提供 json-template/schema 的协助 |
是否能够有一个命令的支持,将json转换为bpmn格式的数据。
cli --input --output <output.bpmn>
The text was updated successfully, but these errors were encountered: