With version 6.0 the dedicated commandline tool was removed.
Primary reason is that it was not getting any attention,
and it did not perform well (mainly due to the relatively big startup overhead).
So if you have the need to use Yauaa from a commandline perspective the easiest way to do this is by starting
the docker based webservlet locally (and leave it running “for a long time”) and use something like curl
to get the information you are looking for.
Initial startup
Simply start the webservlet using docker and run it in the background (takes a few seconds):
docker pull nielsbasjes/yauaa:8.3.0
docker run --detach -p8080:8080 nielsbasjes/yauaa:8.3.0
Doing a single value
AGENT="Mozilla/5.0 (Linux; Android 7.0; Nexus 6 Build/NBD90Z) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.124 Mobile Safari/537.36"curl -X POST \
-H "Content-Type: text/plain"\
http://localhost:8080/yauaa/v1/analyze/yaml \
--data-binary "${AGENT}"