aptly icon indicating copy to clipboard operation
aptly copied to clipboard

snapshot diff needs a -raw or -json option

Open rminsk opened this issue 10 years ago • 3 comments

It would be nice if snapshot diff could output an easily parsable format such as json.

rminsk avatar Feb 17 '15 18:02 rminsk

aptly 0.9 would have snapshot diff REST API, which returns JSON objects.

I agree that having something parseable for the CLI mode would be great as well.

smira avatar Feb 19 '15 20:02 smira

Beside this it would be helpful if the return value of aptly diff is identical with the diff command:

Exit status is 0  if inputs are the same, 1 if different, 2 if trouble.

lairsdragon avatar Mar 03 '15 15:03 lairsdragon

csv output could also be useful.

rminsk avatar Apr 05 '16 22:04 rminsk