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)
Fri, May 3, 3:33 AM
Unknown Object (File)
Mon, Apr 29, 3:24 PM
Unknown Object (File)
Sat, Apr 27, 7:59 PM
Unknown Object (File)
Thu, Apr 25, 8:02 PM
Unknown Object (File)
Thu, Apr 25, 8:02 PM
Unknown Object (File)
Thu, Apr 25, 8:02 PM
Unknown Object (File)
Wed, Apr 24, 11:20 PM
Unknown Object (File)
Tue, Apr 23, 11:14 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable