This Bash script facilitates the extraction of entity names from a JHipster JDL (JHipster Domain Language) file. The script allows users to choose between newline and comma delimiters for the extracted entity names.
-
Clone the repository:
git clone https://github.com/yhao3/jhipster-jdl-entity-extractor cd jhipster-jdl-entity-extractor
-
Make the script executable:
chmod +x extract_entities.sh
-
Run the script with your JDL file as an argument:
./extract_entities.sh your-jdl-file.jdl
-
Choose a delimiter for the entities list:
Newline (Enter 'n' or 'N') Comma (Enter 'c' or 'C')
-
The extracted entities will be saved to
entities.txt
.