Page MenuHomePhabricator

Add a "--force" flag to `bin/auth revoke`

Authored by epriestley on Jan 21 2018, 1:45 AM.



Ref T13043. I'd like to replace the manual credential revocation in the Phacility export workflow with shared code in bin/auth revoke, but we need it to run non-interactively. Add a --force flag purely to make our lives easier.

Test Plan

Ran bin/auth revoke --everywhere ... with and without --force. Got prompted without, got total annihilation with.

Diff Detail

rP Phabricator
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

epriestley created this revision.Jan 21 2018, 1:45 AM
epriestley requested review of this revision.Jan 21 2018, 1:46 AM
amckinley accepted this revision.Jan 23 2018, 2:43 AM
This revision is now accepted and ready to land.Jan 23 2018, 2:43 AM
This revision was automatically updated to reflect the committed changes.