Is it possible to check if a Diff has been accepted using arc or other cli?

Thanks!

1 Like

You can run

echo '{"constraints": {"ids": [123]}}' | arc call-conduit differential.revision.search

To read the status of D123.

jq can be used to extract just the status information:

echo '{"constraints": {"ids": [123]}}' | \
   arc call-conduit differential.revision.search | \
   jq '.response.data[0].fields.status.name' 
1 Like

Worked! Thanks a lot!

You might also find arc branch or arc list useful, depending on what you’re trying to do.