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
F18875760: D21203.id.diff
Wed, Nov 5, 7:10 PM
F18871485: D21203.diff
Tue, Nov 4, 11:01 PM
F18840062: D21203.diff
Mon, Oct 27, 8:49 PM
F18814918: D21203.diff
Tue, Oct 21, 12:07 AM
F18811366: D21203.id50497.diff
Mon, Oct 20, 3:01 AM
F18750249: D21203.diff
Oct 4 2025, 7:06 AM
F18720520: D21203.id.diff
Sep 29 2025, 7:00 PM
F18708887: D21203.diff
Sep 28 2025, 11:05 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