jpeddicord / askalono

A tool & library to detect open source licenses from texts
Apache License 2.0
256 stars 25 forks source link

CLI: JSON output format #24

Closed jpeddicord closed 6 years ago

jpeddicord commented 6 years ago

The library is always going to be the most optimal way to use askalono, but sometimes it's nice to use the binary/cli for a quick test. I'd like to support JSON output for some modes:

askalono id --format=json
askalono id --batch --format=json
askalono crawl --format=json

For modes like crawl and batch, it'll be something like a JSON document for each line, describing one file.

jpeddicord commented 6 years ago

Solved via 983dac4de9c70ce0f827286b95c99db064cd0d2d