This is a CLI tool to update the database of a hosted menu api.
The CLI in of itself should be self-explanatory. To see the usable command, you can use
java -jar menu-updater.jar --help
To use this cli, you can download a built jar from the release section. Then, you can execute it in the directory, like pointed out in the usage.
To build it from source, run ./gradlew jar
, and then execute the jar which is located somewhere in the build
directory.
To get then update the Database of a menu api, you should execute this cli on the same host, the api is hosted. If that
is done, this api can use an endpoint which is
only accessible on the local host. Thus, you should provide an url that points to this endpoint when using
the --url
argument.
This CLI is just a wrapper for the underlying library SVMenuParser, which enables to parse the menu PDFs. If you want to build your own application around parsing these PDFs, you can use it directly.
Coming Soon.