Page MenuHomePhabricator

Add "--browse" and "--input" to "arc paste", and remove "--json" (which had no effect)

Authored by epriestley on Fri, May 1, 4:07 PM.



Ref T13528. For consistency with other commands ("arc upload", "arc diff"), support a "--browse" flag to "arc paste".

Support "--input" as a more robust alternative to x | y (see T6996).

Test Plan

Ran arc paste --browse --input X, got a new paste in a browser window. Ran other variations of flags and parameters.

Diff Detail

rARC Arcanist
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.Fri, May 1, 4:07 PM
epriestley requested review of this revision.Fri, May 1, 4:08 PM
This revision was not accepted when it landed; it landed in state Needs Review.Fri, May 1, 4:13 PM
This revision was automatically updated to reflect the committed changes.