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)
Thu, Jun 5, 4:52 PM
Unknown Object (File)
Sun, May 18, 11:29 PM
Unknown Object (File)
May 14 2025, 7:10 PM
Unknown Object (File)
May 10 2025, 4:16 AM
Unknown Object (File)
Apr 26 2025, 2:20 AM
Unknown Object (File)
Apr 24 2025, 2:15 AM
Unknown Object (File)
Apr 13 2025, 8:28 PM
Unknown Object (File)
Apr 13 2025, 8:41 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable