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, Feb 28, 8:13 PM
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)
Jan 30 2025, 3:29 PM
Unknown Object (File)
Jan 27 2025, 7:04 PM
Unknown Object (File)
Jan 25 2025, 7:29 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