Page MenuHomePhabricator

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

Authored by epriestley on May 1 2020, 4:07 PM.
Tags
None
Referenced Files
F15544031: D21203.id50487.diff
Sat, Apr 26, 2:20 AM
F15534806: D21203.id.diff
Thu, Apr 24, 2:15 AM
F15501042: D21203.id50497.diff
Sun, Apr 13, 8:28 PM
F15496896: D21203.id50487.diff
Sun, Apr 13, 8:41 AM
F15492879: D21203.id.diff
Sat, Apr 12, 7:16 PM
F15491173: D21203.diff
Fri, Apr 11, 11:56 PM
F15490064: D21203.diff
Fri, Apr 11, 2:04 PM
F15490041: D21203.id.diff
Fri, Apr 11, 2:03 PM
Subscribers
None

Details

Summary

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

Repository
rARC Arcanist
Branch
browse2
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 24302
Build 33481: Run Core Tests
Build 33480: arc lint + arc unit