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
Unknown Object (File)
Tue, Feb 11, 8:45 PM
Unknown Object (File)
Sun, Feb 9, 9:11 AM
Unknown Object (File)
Sun, Feb 9, 9:11 AM
Unknown Object (File)
Sun, Feb 9, 9:11 AM
Unknown Object (File)
Thu, Jan 30, 3:29 PM
Unknown Object (File)
Mon, Jan 27, 7:04 PM
Unknown Object (File)
Sat, Jan 25, 7:29 AM
Unknown Object (File)
Sat, Jan 25, 7:28 AM
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