Page MenuHomeSoftware Heritage

cli/client: add a --format option to cli client commands
ClosedPublic

Authored by douardda on Dec 20 2019, 2:24 PM.

Details

Summary

This new option allows these cli commands (upload and status) to produce
JSON or YAML output, so it's easier to test.

Depends on D2474

Diff Detail

Repository
rDDEP swh-deposit
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

douardda created this revision.Dec 20 2019, 2:24 PM
ardumont accepted this revision.Dec 20 2019, 2:26 PM
This revision is now accepted and ready to land.Dec 20 2019, 2:26 PM
vlorentz accepted this revision.Dec 20 2019, 2:32 PM
vlorentz added a subscriber: vlorentz.

nice!