diggsweden / DCAT-AP-SE-Processor

GNU General Public License v3.0
9 stars 8 forks source link

Add a CLI interface to convert files and directories #2

Closed weipe closed 2 years ago

weipe commented 2 years ago

This PR contains functionality and documentation for another way to run the DCAT processor.

If the jar file is started with the command line arguments -f FILE, the given file will be converted and the result printed to stdout. If the jar file is started with the command line arguments -d DIRECTORY, the files in the given directory will be converted and the result printed to stdout.

jonassodergren commented 2 years ago

Good to enable a separation of the online service from offline processing.

fredriknordlander commented 2 years ago

I agree with @jonassodergren. Good PR @weipe 👍