简体   繁体   English

如何从现有的jhipster项目中获取JDL或JH文件

[英]How to get JDL or JH file from the existing jhipster project

Is there a way to get JH file that i used to import into my JHipster project. 有没有办法获取我以前导入到我的JHipster项目中的JH文件。 I am able to see list of json files inside .jhipster folder. 我能够看到.jhipster文件夹中的json文件列表。 But where i can find jh file and how to get that back. 但是我在哪里可以找到jh文件以及如何找回它。 So that i can do modifications and import it again. 这样我就可以进行修改并再次导入它。 For example how can i get the jh file for this below sample jhipster project. 例如,如何在示例jhipster项目下面获取jh文件。

Import command 导入命令

yo jhipster:import-jdl ~/Downloads/example.jh

https://github.com/jhipster/jhipster-sample-app https://github.com/jhipster/jhipster-sample-app

You have the same, instead of import, it's export. 您具有相同的输出,而不是导入。 Here all possible commands: 这里是所有可能的命令:

yo jhipster:export-jdl

yo jhipster:export-jdl jhipster.jh

jhipster export-jdl

jhipster export-jdl jhipster.jh

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM