OpenTermsArchive / engine

Tracks contractual documents and exposes changes to the terms of online services.
https://opentermsarchive.org
European Union Public License 1.2
106 stars 30 forks source link

Improve CLI #951

Closed Ndpnt closed 1 year ago

Ndpnt commented 1 year ago

Improve CLI and add possibility to specify document types

Capture d’écran 2022-10-10 à 15 19 10
Ndpnt commented 1 year ago

A nice plus (or other PR) would be to

?

clementbiron commented 1 year ago

I feel like it's Christmas, thanks!

Ndpnt commented 1 year ago

Declarations template and other declarations repositories should be updated with: "track:modified": "git diff --name-only HEAD $(git merge-base HEAD origin/main) -- ./declarations/ | grep -v .history | grep -v .filters | sed 's/declarations\\///g' | sed 's/.json//g' | sed 's/.*/\"&\"/' | xargs -r npm run track -- -s"